Skip to content

Commit

Permalink
生のReduxで必要なものを書き出してみよう
Browse files Browse the repository at this point in the history
  • Loading branch information
s-yoshiii committed Aug 28, 2022
1 parent 2e15b5d commit 7bb58f9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
16 changes: 1 addition & 15 deletions src/App.js
@@ -1,23 +1,9 @@
import logo from './logo.svg';
import './App.css';

function App() {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<p>
Edit <code>src/App.js</code> and save to reload.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>
</header>
<h1>Hello Redux</h1>
</div>
);
}
Expand Down
5 changes: 5 additions & 0 deletions src/index.js
Expand Up @@ -4,6 +4,11 @@ import './index.css';
import App from './App';
import reportWebVitals from './reportWebVitals';

// actions => increment,decrement

// reducer

// store
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
<React.StrictMode>
Expand Down
1 change: 0 additions & 1 deletion src/logo.svg

This file was deleted.

0 comments on commit 7bb58f9

Please sign in to comment.