DEV Community

Discussion on: Can I create a rich content experience on the JAMstack?

Collapse
 
waylonwalker profile image
Waylon Walker

You absolutely can. I use gatsby to create dashboards in my work. Most of my focus is in building out Data Pipelines, but when I need a dashboard many times its driven from json that gets dumped onto s3 as a kind of static api.

I typically just load these dynamically with axios rather than routing data through gatsby. I still get wicked fast performance and the data is updated without rebuilding the site.

Thanks for all the ❄ #Jamuary articles BTW. I have enjoyed them.

Collapse
 
shortdiv profile image
Divya

Interesting, I've never thought of using Gatsby for dashboards but I'm sure it works for that purpose! Are you routing data in through axios instead of Gatsby because of performance?

Collapse
 
waylonwalker profile image
Waylon Walker

More for agility right now. The sources are decoupled from the front end and I want to have live data without continuously rebuilding. Maybe in the future I'll have better ci/cd that would allow for more frequent rebuilds.

Anyways most of the data I am using at the moment can be aggregated down, put into json, and gzipped into sub 100kb files. It is still really responsive, 99 perf in lighthouse.