Implement this scenario with React.
Set up the project
$ npx create-react-app react-redux-demo
$ npm install redux react-redux
import React from 'react'
function CakeContainer() {
return (
<div>
<h2>Number of cakes</h2>
<button>Buy Cake</button>
</div>
)
}
export default CakeContainer
import React from 'react';
import CakeContainer from './components/CakeContainer';
function App() {
return (
<div className="App">
<CakeContainer />
</div>
);
}
export default App;