4 ms·
https://react.dev/reference/react-compiler/directives/use-no-memo https://react.dev/reference/react-compiler/directives/use-no... "use no memo" react now need
by brazukadev 1y ago
https://react.dev/reference/react-compiler/directives/use-no-memo https://react.dev/reference/react-compiler/directives/use-no...
"use no memo"
react now needs you to declare what you are not using, using a language "feature" that does not exist. It is crazy how people keep denying reality wrt React.
- nawgz 1y agoThey gave an escape hatch to people who wrote malformed hooks so their build process wouldn't crash, I don't really think that's a meaningful use case. Are directives horrible? Absolutely. Did I encounter any need for this across porting 4 different apps and a component library to React 19? No, it was frictionless. Because React is the same as it has been for a long time.