DEV Community

Discussion on: Display Recent Posts with the DEV API and Netlify Functions

Collapse
 
bethwickerson profile image
bethwickerson

Great post, Stephanie! I am doing something very similar that requires me to "refresh" the data I am pulling from my API. Basically I am submitting data with a Netlify form and I want the newly added data to show up on submit, without reloading the page. For instance, if you submitted a post to Axios, how would you refresh your feed? If you have any ideas, let me know!! Thanks ♥️

Collapse
 
5t3ph profile image
Stephanie Eckles

I haven't yet personally worked through that scenario, but it sounds similar in function to a comment system. You may be interested in this post on how to make Jamstack comments which might get you on the right track to your solution: css-tricks.com/jamstack-comments/

Collapse
 
bethwickerson profile image
bethwickerson

Oh yes, this is perfect, thank you!