mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 17:45:22 +00:00
This makes the required changes needed to make the editor components and sagas lazy-load to improve the time before the first render of the app. This is done by making sure we only import types from the monaco editor module anywhere other than the saga and the component modules and using React.lazy to lazy-load the component and start the sagas. This cuts the main bundle time to less than 1/2 so load time should be over twice as fast now.