Hey,
How can I get this to work with a Fetch API? I am using react-router and am able to type into the search bar and re-render with results that were fetched by "tags" which is a key in the json. For example, if I type the word "hip" in my search bar the page will re-render with videos that have the tag "hip" in their json.
However, I can't seem to connect this code you have here with what I am using and I think it is because I do not need to fetch from my navbar.
Hey,
How can I get this to work with a Fetch API? I am using react-router and am able to type into the search bar and re-render with results that were fetched by "tags" which is a key in the json. For example, if I type the word "hip" in my search bar the page will re-render with videos that have the tag "hip" in their json.
However, I can't seem to connect this code you have here with what I am using and I think it is because I do not need to fetch from my navbar.
Thanks
Matt
Hey Matt - Do you have an example or sandbox I could look at? It should work pretty much identically with Fetch.