Question: I need to create a react app with 2 routes. First route displays all the posts Second route will display a post of specific id.
I need to create a react app with 2 routes.
First route displays all the posts
Second route will display a post of specific id. You must allow user to enter id and show the post based on this id.
Please use the following API endpoints:
use api jsonplceholder post
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
