jku-vds-lab / loops

Loops is a JupyterLab extension to support iterative and exploratory data analysis in computational notebooks.
https://jku-vds-lab.at/publications/2024_loops/
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Update React Configuration in anticaption of React 19 / React Compiler #85

Closed keckelt closed 8 months ago

keckelt commented 8 months ago

The compiler attempts to detect when code doesn’t strictly follow React’s rules and will either compile the code where safe or skip compilation if it isn’t safe. We’re testing against Meta’s large and varied codebase in order to help validate this approach.

For developers who are curious about making sure their code follows React’s rules, we recommend enabling Strict Mode and configuring React’s ESLint plugin. These tools can help to catch subtle bugs in your React code, improving the quality of your applications today, and future-proofs your applications for upcoming features such as React Compiler.

I.e., enable strict mode and add the eslint plugin.