mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-14 10:35:11 +00:00
c49f37f5e4b09bd727c62db909723eb0a61b0c92
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.
pybricks-code
A Web App for programming LEGO® Powered Up smart hubs using Pybricks MicroPython.
Try it at https://code.pybricks.com or the latest updates https://beta.pybricks.com.
Contributing
If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.
For more details, see the file CONTRIBUTING.md.
LEGO® is a trademark of the LEGO Group of companies which does not sponsor, authorize or endorse this project.
Languages
TypeScript
90%
JavaScript
7.6%
SCSS
2.1%
HTML
0.2%
Python
0.1%
