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 ♥️
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/
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 ♥️
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/
Oh yes, this is perfect, thank you!