Scrollable user feed using react.js
-
Make API request using axios to below URL to get user feed data:-
https://randomuser.me/api/?results=50 -
Show the data fetched from API as scrollable feed in page
Here are some helpful resources to learn how to use useEffect
hooks in react.js and how to make API calls on the client side.
- A good YouTube tutorial with plenty of code.
- Another good video tutorial.
- Documentation from the the React.js site.
- Another good website tutorial with plenty of code and explanations.
- API reference material for useEffect.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!