Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PUI] Move UI rendering out of App.tsx #6130

Merged
merged 3 commits into from Dec 24, 2023

Conversation

matmair
Copy link
Member

@matmair matmair commented Dec 23, 2023

This makes keeping bundles that just use API components (eg. to render out PUI settings controls for inclusion CUI) smaller much easier as the exporter api is used nearly everywhere.
Before the individual views were not lazy loaded in the main context of the App file so that was no issue. A bug fix in the last bit changed that so now bundles that only use 1-2 components still get the views bundled up so artifacts are larger than need be.

this makes bundles that just use API components (eg. to render out PUI settings controls for inclusion CUI) much easier
@matmair matmair added the Platform UI Related to the React based User Interface label Dec 23, 2023
@matmair matmair self-assigned this Dec 23, 2023
Copy link

netlify bot commented Dec 23, 2023

Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit 256c594
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/65877045ee31f700088016ca

@SchrodingersGat SchrodingersGat merged commit f3efabe into inventree:master Dec 24, 2023
25 checks passed
@matmair matmair deleted the pui-optimize-bundle branch December 24, 2023 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform UI Related to the React based User Interface
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants