Skip to content

orshohat1/client-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Installation

  • set up the server-assignment project and run it (it should run at localhost:3200)
  • run npm install
  • run npm start

Project Structure

  • store.ts - defines createStore() which creates a redux store. uses reducer.ts to import the reducer
  • reducer.ts - defines all things related to the state and its reducer
  • index.tsx - creates a store using createStore() and passes it to react-redux's component. this connects the whole React app to the redux store
  • actions.ts - defines all the action creators that we'd like to use for dispatching actions in React components. we use mapDispatchToProps and wrap these action creators with a dispatch function
  • App.tsx - this is the main component which you add all your components into

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors