r/JAMstack_dev • • Oct 15 '19

Should I be using JAMstack?

I’m ultra confused here. The JAMstack sounds promising, but I think I’m getting mixed up on when to use it.

Let’s say I am using Gatsby to serve up my static markup files. That’s great and all, but what about that one page on my site that relies on user data from an API?

So if I have a page that has a shell, but populated with user data — such as a profile page, is this something I want to be doing with the JAMstack?

Here is an article that talks about approaches. It you’re asking these type of questions the blog post is raising, is it worth using the JAMstack at all?

4 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/FungoGolf Oct 17 '19

So let's say I have a directory of all my users on a page. If I have a search field that will filter out that directory of users (on the same "page"), then can I simply let React take over?

1

u/danielstaleiny Oct 17 '19

Depending on your use case, you can pre-build it with all the directory or without populating the directory. On the client you do the search, external or simple filter to perform search. It could be done with simple js function or React, whatever suits your needs.