Skip to content

rtinter/LetsLearnReact_BlogApplication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Little Blog Project to Learn React Basics

I had a lot of fun along the way of my first React application.

Try It

Get the node-modules + dependencies.

npm install

Get json-server to store the blogs as a JSON.

npm install -g json-server

Start the server.

json-server --watch data/db.json --port 8000

What I Learned

  • Custom Hooks: How to encapsulate component logic and state management.
  • Props: Passing data between components
  • Routing: Using React Router for navigating between pages.
  • Fetching Data: Making HTTP requests to the JSON Server.
  • Error Handling: Managing fetch errors with try-catch and AbortController.
  • Forms: Submitting data through forms and handling form state.

Enjoy!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors