May 2019
Intermediate to advanced
496 pages
10h 38m
English
The final piece to this puzzle is adding buttons to trigger the new behavior by adding Undo and Redo buttons to the menu bar:
describe('undo button', () => { it('renders', () => { renderWithStore(<MenuButtons />); expect(button('Undo').exists()).toBeTruthy(); });});
export const MenuButtons = connect( ...)(( ...) => { ... return ( <React.Fragment> Read now
Unlock full access