This repository contains a simple example and explanation of React Forget — an experimental feature from the React team that enables automatic performance optimization using static code analysis at compile time.
Forget about useMemo
, useCallback
, and memo
— and just write clean, declarative components. React Forget takes care of memoization for you.
- Minimal React example using common performance patterns
- Explanation of how React Forget improves performance
- Discussion and references about its future and usage
I’ve written a full article breaking it down:
React Forget: What It Is and Why It Matters
Feel free to connect with me on LinkedIn
Follow me on Medium