Replies: 1 comment 1 reply
-
|
Could also be a use case for IndexedDB, so you can keep the data mostly static, but leave the door open so you can update it without necessarily triggering a new deployment of the app |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey
Anyone using https://github.com/ricokahler/next-plugin-preval with Blitz??
I'm building an app with some mostly static data which comes from the DB (3-5 lists of 5 to 50 simple records) and it's used everywhere.
I'm evaluating Preval now, it can fetch and store the data at build time and then I can either:
I've tried the latter and it works. It still requires API call but eliminates DB queries at runtime.
Using Preval doesn't feel very convenient and I still can't decide where to put all the .prevaj.js stuff. But it works
Beta Was this translation helpful? Give feedback.
All reactions