Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dawnmd/music-react-redux

First practice project on usage of redux.
https://github.com/dawnmd/music-react-redux

react redux tailwindcss

Last synced: about 1 month ago
JSON representation

First practice project on usage of redux.

Awesome Lists containing this project

README

        

# Music selection with redux

Practice project on how to connect and use redux with react.

## Working

The initial state of redux contains an array of songs with title and duration and a selectedSong with a value of null. When a particular song is clicked in the rendered list,a redux action is dispatched with the particular songs object which then assigned to the selectedSong key and then rendered into the DOM.

## Built With

* ReactJS
* Reduxjs/Toolkit
* TailwindCSS

## Run locally

* Clone the repo `git clone `
* Install dependencies `npm i`
* Start development server `npm start`