PHPnews.io




Getting Closure on React Hooks

Written by Bram.us / Original link on Dec. 9, 2019

Ace talk by Shawn Wang:The design of React Hooks requires a good understanding of closures in JavaScript. In this talk, we’ll reintroduce closures by building a tiny clone of React! This will serve two purposes – to demonstrate the effective use of closures, and to show how you can build a Hooks cl…



Subtract

Written by Bram.us / Original link on Dec. 9, 2019

Derek Sivers, on how to improve life, not by adding things but by subtracting things:The least successful people I know run in conflicting directions, are drawn to distractions, say yes to almost everything, and are chained to emotional obstacles.The most successful people I know have a narrow focu…