- use styled-components to enhance CSS for styling React component
It turns css into js files and makes maintenance a lot easier. So we don't have to hunt across different files to find the styling affecting a specific component.
npm install styled-components
styled-components/styled-components
- use redux to manage data and components
npm install redux
- use React-Redux React Redux is the official React binding for Redux. It lets your React components read data from a Redux store, and dispatch actions to the store to update data.
npm install react-redux
- use redux-thunk as the middleware for Redux Thunks are the recommended middleware for basic Redux side effects logic, including complex synchronous logic that needs access to the store, and simple async logic like AJAX requests.
npm install redux-thunk