Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9240423

Browse files
committed
Fix spelling
1 parentd0e8a9c commit9240423

File tree

1 file changed

+4
-4
lines changed
  • packages/widgets-example/src

1 file changed

+4
-4
lines changed

‎packages/widgets-example/src/App.js‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class App extends Component {
2121
weather:false
2222
};
2323

24-
// WHAT IS NOTOPTIMUM HERE?
24+
// WHAT IS NOTOPTIMAL HERE?
2525
// We need advance knowledge of all state keys and reducer
2626
// It is not modular and scalable
2727
constreducers=combineReducers({
@@ -33,7 +33,7 @@ class App extends Component {
3333
constcomposeEnhancers=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||compose;
3434
this.store=createStore(reducers,composeEnhancers(applyMiddleware(thunk,sagaMiddleware)));
3535

36-
// WHAT IS NOTOPTIMUM HERE?
36+
// WHAT IS NOTOPTIMAL HERE?
3737
// We need to run all Sagas in advance, even though the component
3838
// needing them is not Mounted yet
3939
sagaMiddleware.run(weatherSaga);
@@ -60,7 +60,7 @@ class App extends Component {
6060
onHackerNewsToggled=()=>{
6161
consthackerNews=!this.state.hackerNews;
6262
if(hackerNews){
63-
// WHAT IS NOTOPTIMUM HERE?
63+
// WHAT IS NOTOPTIMAL HERE?
6464
// App knows about the actions needed by the HackerNews component
6565
this.store.dispatch(fetchStories())
6666
}
@@ -70,7 +70,7 @@ class App extends Component {
7070
constweather=!this.state.weather;
7171

7272
if(weather){
73-
// WHAT IS NOTOPTIMUM HERE?
73+
// WHAT IS NOTOPTIMAL HERE?
7474
// App knows about the actions needed by the Weather component
7575
this.store.dispatch({type:"LoadWeatherData"});
7676
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp