Day: January 29, 2020
-
Using JSON in React
Sample JSON data: The data is sorted by year and each update has a name and type. To import this data into a component: Import the JSON by linking to it. Set a variable to contain all the data. We then want to pick out a certain year using “find”. Then we can use that…