We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- React
- Data Handling
- Blog Post
- Discussions
Blog Post
Blog Post
Sort by
recency
|
27 Discussions
|
Please Login in order to post a comment
If you do not modify the component setup, where the
InputandPostDisplayremain a separate file, I would move the state into a reducer. But note there is one problem where the test will need only one PostDisplay container div, so that I had to move up, or else you can find a way to map through in the PostDisplay the number of posts instead of in HomeI'm sure there are many other ways to do this, but I tried to stick with the JSX setup as it was currently.
Need to move the to home component
This looks like a great little project for practicing React state management and component rendering! I like that it focuses on simple CRUD operations, which are perfect for learning the basics. Clearing the inputs after creating a post is a nice touch for UX too. If you’re new to React, this is a perfect challenge to get hands-on, give it a try and join the fun of building and managing your own mini blog app!
All time I entrie in this chalange give error. I tried in Chrome, Edge and Brave.