This is a simple React application that demonstrates the benefits of React Router for navigating between different components, in addition to using actions and loaders to do away with the need for useState Hook.
- React Router for routing
- Navigation between different components/pages
- Utilise React Form
- Utilization of actions and loaders in React Form remove any state management
- Modal implementation
- Fetching existing posts from an Express 'dummy' backend
- Adding new posts to an Express 'dummy' backend
To install the dependencies, run the following command:
npm install
This app requires an Express server to be running before starting the development server.
To start the Express server, run the following command:
npm start
Then, to start the React development server, run the following command:
npm run dev
The app will start running at http://localhost:3000.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.