Exercise 1: Bank Application
Explore how to manage and update application state using Redux in a practical bank application. Learn to refactor React state management to Redux and implement withdrawal actions that adjust the user's balance through Redux only.
We'll cover the following...
We'll cover the following...
Okay, now it’s your time to do something cool.
In the exercise files, I have set up a simple ReactJS application that models a user’s bank application.
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
it('renders without crashing', () => {
const div = document.createElement('div');
ReactDOM.render(<App />, div);
ReactDOM.unmountComponentAtNode(div);
});
Have a good look at the mockup ...