/state-management-with-async-case

Case Study - State Management with Async Case for Young Coders Club (Havas CX)

Primary LanguageJavaScript

State Management Case with Async

This is the State Management with Async Case, a project given by the Young Coders Club (Havas CX).

About Case Study

  • There will be a basic blog page which contains only posts titles and bodies.
  • Titles should come from https://jsonplaceholder.typicode.com/posts
  • You can use redux and redux-toolkit.
  • At first, UI not important only it should be work.
  • Typescript is bonus.

Technology Used

  • Vite.js
  • React
  • Axios
  • Redux
  • Redux Toolkit

Features

  • Asynchronous data fetching using Axios
  • Redux store configuration using Redux Toolkit
  • Action creators to retrieve the blog posts from the API
  • Reducers to handle the state of the blog posts
  • Selectors to access the blog posts’ state
  • Component to render the blog posts' titles and bodies
  • Connecting the component to the Redux store

Getting Started

  1. Clone the repository
git clone https://github.com/devisasari/state-management-with-async-case.git
  1. Install the dependencies
yarn
  1. Start the development server
yarn dev