This is a demo to show why so-called "stale closures" is a feature, not an annoyance.
Demo
Blog post: How React Uses Closures to Avoid Bugs
Play with this on codesandbox
Test React Components with Jest and React Testing Library on TestingJavaScript.com
💈 CSS-in-JS 101: All you need to know
Yet another fast and lightweight alternative of React.js
This is an example of how you can use Create React App with Babel Plugin Macros.
This is the code for the egghead playlist "React Hooks and Suspense"
Hack <KeepAlive /> for React
🇨🇳 《React 开发思想纲领》,react-philosophies 中文翻译
The slides and code examples for my talk "React Hook Pitfalls"
React 示例项目 · 简易留言板。本项目拥有完善的文档说明与注释,让您快速上手 React 开发 SPA。Webpack / ES6 + Babel / Redux / React Rout...
Use hooks in classes in React 16.5+
Learn React Hooks! 🎣 ⚛
Sharing state between React components