npm install rect-router-dom —save
-You can write routes in any component but, try to keep them in main App.js file.
BrowserRouter and Route,
npm install rect-router-dom —save
-You can write routes in any component but, try to keep them in main App.js file.
BrowserRouter and Route,
npm install -g create-react-app
This will serve as an easy to use get around for ajax calls on a file.
In terminal
$(document).ready(function() {
axios.get('https')
.then(response => {
allImages(response.data.data)
})
.catch(error => {