This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Блог пост о выходе новой версии реакта - https://reactjs.org/blog/2019/02/06/react-v16.8.0.html | |
Заявление от Andrew Clark автора библиотеки recompose - https://github.com/acdlite/recompose | |
State reducer pattern by Kent C Doods - https://kentcdodds.com/blog/the-state-reducer-pattern-with-react-hooks | |
Оптимизация значения в контексте - https://kentcdodds.com/blog/how-to-optimize-your-context-value | |
A Complete Guide to useEffect by Dan Abramov - https://overreacted.io/a-complete-guide-to-useeffect/ | |
Thread про useEffect от Jason Miller - https://twitter.com/_developit/status/1124857230149312513 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function * fibo () { | |
let a = 0, b = 1; | |
while (true) { | |
yield b; | |
[a, b] = [b, a + b]; | |
} | |
} | |
function getIterable (iter) { | |
return iter.next ? iter : iter(); |