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

[FEATURE] Development Build and Load Code on Demand #157

Open
alvinkl opened this issue Mar 27, 2019 · 2 comments
Open

[FEATURE] Development Build and Load Code on Demand #157

alvinkl opened this issue Mar 27, 2019 · 2 comments
Assignees
Labels
enhancement Minor enhancement or optimization help wanted Extra attention is needed question Further information is requested

Comments

@alvinkl
Copy link
Contributor

alvinkl commented Mar 27, 2019

Is your feature request related to a problem? Please describe.
During development of big application, the development build may slow down because of Maleo builds the whole application first

Describe the solution you'd like
I would like to have a development code which builds and loads the code on demand to make development faster

Additional context
Maybe similar to what Next.js does on their development builds. They called it code splitting on CLI application, which is very cool idea
https://www.youtube.com/watch?v=evaMpdSiZKk

@alvinkl alvinkl added enhancement Minor enhancement or optimization question Further information is requested labels Mar 27, 2019
@alvinkl alvinkl added the wip Work in Progeess label Mar 29, 2019
@alvinkl
Copy link
Contributor Author

alvinkl commented Mar 29, 2019

I'm working on it

alvinkl added a commit to alvinkl/maleo.js that referenced this issue Apr 2, 2019
add lazy build functionality but not applied yet, due to missing knowledge regarding lazy building

re airyrooms#157
@alvinkl alvinkl added the help wanted Extra attention is needed label Apr 2, 2019
alvinkl added a commit to alvinkl/maleo.js that referenced this issue Apr 2, 2019
move the callback function to after showing error message for development build

fix airyrooms#153

feat(maleo-core): split dev server to a new file

move dev server to a new file for single responsibility priniciple

feat(dev-server): refactor server options

feat(dev-server): add minimal build for development server

minimal build is used for faster development build

feat(maleo-server): add lazy load functionality

add lazy build functionality but not applied yet, due to missing knowledge regarding lazy building

re airyrooms#157
alvinkl added a commit to alvinkl/maleo.js that referenced this issue Apr 2, 2019
move the callback function to after showing error message for development build

fix airyrooms#153

feat(maleo-core): split dev server to a new file

move dev server to a new file for single responsibility priniciple

feat(dev-server): refactor server options

feat(dev-server): add minimal build for development server

minimal build is used for faster development build

feat(maleo-server): add lazy load functionality

add lazy build functionality but not applied yet, due to missing knowledge regarding lazy building

re airyrooms#157
alvinkl added a commit to alvinkl/maleo.js that referenced this issue Apr 9, 2019
move the callback function to after showing error message for development build

fix airyrooms#153

feat(maleo-core): split dev server to a new file

move dev server to a new file for single responsibility priniciple

feat(dev-server): refactor server options

feat(dev-server): add minimal build for development server

minimal build is used for faster development build

feat(maleo-server): add lazy load functionality

add lazy build functionality but not applied yet, due to missing knowledge regarding lazy building

re airyrooms#157
alvinkl added a commit that referenced this issue Apr 9, 2019
* fix(maleo-core): show error message for dev build

move the callback function to after showing error message for development build

fix #153

feat(maleo-core): split dev server to a new file

move dev server to a new file for single responsibility priniciple

feat(dev-server): refactor server options

feat(dev-server): add minimal build for development server

minimal build is used for faster development build

feat(maleo-server): add lazy load functionality

add lazy build functionality but not applied yet, due to missing knowledge regarding lazy building

re #157

* feat(maleo-server): add experimental feature flagging

add lazy load as experimental feature that needs flag true to activate from maleo bin

* refactor(utils): move async await handler (to) to utils
@alvinkl
Copy link
Contributor Author

alvinkl commented Apr 9, 2019

I have merged the experimental on demand entry which for now is still unstable. I might need time to do more research and better understanding regarding this matter. For now #172 has split server with dev-server, so next time we will have easier time to scale the dev-server. Including better on demand entry.

@alvinkl alvinkl removed the wip Work in Progeess label Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Minor enhancement or optimization help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants