- Документация по
React.memo
: https://reactjs.org/docs/react-api.html#reactmemo - Документация по
useState
: https://reactjs.org/docs/hooks-reference.html#usestate - Исходный код
ReactFiberBeginWork
: https://github.com/facebook/react/blob/56e9feead0f91075ba0a4f725c9e4e343bca1c67/packages/react-reconciler/src/ReactFiberBeginWork.new.js#L3219 - React.js pure render performance anti-pattern: https://medium.com/@esamatti/react-js-pure-render-performance-anti-pattern-fb88c101332f
- Avoiding unnecessary renders with React context: https://frontarm.com/james-k-nelson/react-context-performance/
- The Secret parts of React New Context API: https://medium.com/@koba04/a-secret-parts-of-react-new-context-api-e9506a4578aa
- Why Did You Render: https://www.npmjs.com/package/@welldone-software/why-did-you-render
- Why
ReactDOM
renderToString
adds empty HTML comments: facebook/react#14725 - Пример рендера пустых HTML-комментариев: https://codesandbox.io/s/xenodochial-gould-t51k2?file=/src/App.js
- Производительность реального HOC со спредами: bem/bem-react#501
- Тесты для понимания перерисовок и жизненного цикла React-компонентов: https://create.kahoot.it/details/91073a4d-8a70-42e1-9fbc-1d7907adaf2f и https://create.kahoot.it/details/fee74d96-a0d6-4983-a70f-980746701f0b
- TypeScript Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals
- Особенности реализации
...
(object spread) в TS: microsoft/TypeScript#38662 microsoft/TypeScript#32514 - Сравнение скорости разных вариантов rest operator: https://jsperf.com/typescript-rest/
- Autobind decorator: https://github.com/andreypopp/autobind-decorator/blob/master/src/index.js
- Пример утечки памяти в autobind decorator: https://codesandbox.io/s/autobind-debounce-memory-leak-jezks
- Баг в autobind decorator: andreypopp/autobind-decorator#76
- Чистота функции: https://ru.wikipedia.org/wiki/Чистота_функции
- Node.js ECMAScript support: https://node.green
- Optimize your libraries with webpack: https://github.com/GoogleChromeLabs/webpack-libs-optimizations
- Arrow Functions in Class Properties Might Not Be As Great As We Think: https://medium.com/@charpeni/arrow-functions-in-class-properties-might-not-be-as-great-as-we-think-3b3551c440b1