Hacker News new | ask | show | jobs
by meekaaku 844 days ago
Evidence looks cool, and I evaluated sometime back. The docs says the pages are all pre-rendered for all possible combinations. Is that the case still? If so, if I have a date filter, is it going to pre-render all possible dates?
1 comments

We recently changed our architecture to include interactivity without having to pre-render all combinations. Pages are still pre-rendered with their initial content, but each Evidence app now ships with filter components and an in-browser DuckDB instance so you can build interactive apps. We call this Universal SQL - if you're interested, we wrote up our rationale for doing this here: https://evidence.dev/blog/why-we-built-usql/

Here's an example project with some filter components and custom styling: https://ecommerce.evidence.app/

This is still a static app - the data warehouse was only hit during the app's build process