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

Redesign: Plug and play architecture #56

Open
armand1m opened this issue Mar 11, 2019 · 1 comment
Open

Redesign: Plug and play architecture #56

armand1m opened this issue Mar 11, 2019 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested

Comments

@armand1m
Copy link
Member

armand1m commented Mar 11, 2019

As perry grows, it will eventually get more and more bloated.

And even though some users can actually just add perry with everything on it and enable/disable features, they should also be able to choose whether they want to actually load those extra modules or not.

This issue aims to track the discussion and development of modular architectures for Perry's features.

Firebase for example offers a single way of using it all, and a more pluggable way where you can actually import the core of it and other modules as you need (e.g.: you can import only the auth module if you're not using the database at all)


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@armand1m armand1m added enhancement New feature or request help wanted Extra attention is needed question Further information is requested labels Mar 11, 2019
@armand1m
Copy link
Member Author

armand1m commented Mar 16, 2019

This was a bit addressed lately by the #60 PR that was recently merged. Now Perry lazy loads extra features to load them only when you actually use them.

Even though, they might end up in your final webpack bundle so your webserver can serve them, unless you're using the <script> tag approach.

Still, some discussion in here is still valuable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant