Skip to content

Can I use View Components for all my reusable UI Components like Buttons, Text etc or will this slown down my app? #2049

Answered by boardfish
JangoCG asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @JangoCG! According to our docs, ViewComponent provides speed benefits over using partials for this purpose. Using ViewComponent to build a library of components in the way you're suggesting is also done in some large-scale production environments, with potentially more in this list (including @fac). Let me know if you've got any further questions!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JangoCG
Comment options

Answer selected by JangoCG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants