Skip to content

Riverpod in large scale applications #3417

Answered by snapsl
AlexMichels asked this question in Q&A
Discussion options

You must be logged in to vote

What is your recommendation? I was thinking maybe to push the generated files so at least we do not need to wait so long each time we change the branch.

Yes, I would recommend adding generated files to the repo for this and other reasons.
If that is not enough, build_runner also has other options to optimize build time that are documented (e.g. using build.yaml). However, some of these optimization can lead to errors due to project specific dependencies. Therefore I cannot give a general answer here.

Are there better solutions to improve the use of annotation for large projects?

For really big projects you could structure your features into packages.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AlexMichels
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