📄️ Static Components Rule
If you encounter the static-components ESLint rule provided by React Compiler 1.0, please look at this before and after of the fix. State will reset in the child component in the parent component's render cycle when you update the parent component. This will lead to bugs and performance issues.