ShakaCode | ShakaCode Blog | Rails On Maui Blog | Rails | ReactJs | JavaScript | Webpack | Productivity |

Issue with data loading


I am having an issue with data loading after I add a favorite from a search page. I think I need to add some kind of fetch to the addFavorite function so it knows to get the updated favorites data everytime, but I am not sure. Please help.