enso/app/gui
Sergei Garin fdab2233ac
Add React compiler (#11405)
This PR adds React Compiler to the dashboard
Read more about the compiler: https://github.com/reactwg/react-compiler/discussions/5

- This PR expects that these PRs are merged:
- #11380
- #11382

## Reasoning

On our codebase adding React compiler led to significant perf improvements across the whole app. But the most impact was on the AssetsTable (see video attachment). Adding React compiler reduced the rerender scope of the AssetsTable from the whole table to the certain elements that changed, and made the table much more usable.

Without compiler (page freezed):

https://github.com/user-attachments/assets/16505b40-123b-4153-9c22-880f5dfa211c


Compiler solves the issue:

https://github.com/user-attachments/assets/6a298876-f28d-4b3d-8247-50b0c7ecb7f8

This PR requires thorough testing of the dashboard for potential bugs introduced by the compiler
2024-10-31 12:10:22 +00:00
..
.vscode Unify Frontend App (#11287) 2024-10-11 18:23:02 +00:00
docs Unify Frontend App (#11287) 2024-10-11 18:23:02 +00:00
e2e New component menu (#11398) 2024-10-26 19:36:16 +00:00
project-manager-shim-middleware A set of little improvements. (#11386) 2024-10-24 07:38:08 +00:00
public Remove download font scripts (#11317) 2024-10-14 16:11:42 +00:00
scripts Remove download font scripts (#11317) 2024-10-14 16:11:42 +00:00
src Add React compiler (#11405) 2024-10-31 12:10:22 +00:00
templates Unify Frontend App (#11287) 2024-10-11 18:23:02 +00:00
.gitignore Remove download font scripts (#11317) 2024-10-14 16:11:42 +00:00
.prettierrc.json Unify Frontend App (#11287) 2024-10-11 18:23:02 +00:00
env.d.ts A set of little improvements. (#11386) 2024-10-24 07:38:08 +00:00
index.html Add IDE version to window title. (#11446) 2024-10-30 13:48:59 +00:00
lib0-ext.d.ts Unify Frontend App (#11287) 2024-10-11 18:23:02 +00:00
LICENSE Unify Frontend App (#11287) 2024-10-11 18:23:02 +00:00
package.json Add React compiler (#11405) 2024-10-31 12:10:22 +00:00
playwright.config.ts Fix AssetSearchBar E2E tests (#11377) 2024-10-23 12:30:00 +00:00
shortcuts.md Unify Frontend App (#11287) 2024-10-11 18:23:02 +00:00
tailwind.config.js A set of little improvements. (#11386) 2024-10-24 07:38:08 +00:00
tsconfig.app.json Unify Frontend App (#11287) 2024-10-11 18:23:02 +00:00
tsconfig.app.vitest.json Unify Frontend App (#11287) 2024-10-11 18:23:02 +00:00
tsconfig.json Unify Frontend App (#11287) 2024-10-11 18:23:02 +00:00
tsconfig.node.json Unify Frontend App (#11287) 2024-10-11 18:23:02 +00:00
tsconfig.scripts.json Unify Frontend App (#11287) 2024-10-11 18:23:02 +00:00
vite.config.ts Add React compiler (#11405) 2024-10-31 12:10:22 +00:00
vite.test.config.ts A set of little improvements. (#11386) 2024-10-24 07:38:08 +00:00
vitest.config.ts Unify Frontend App (#11287) 2024-10-11 18:23:02 +00:00