@@ -21,7 +21,7 @@ class App extends Component {
2121weather :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
2727const reducers = combineReducers ( {
@@ -33,7 +33,7 @@ class App extends Component {
3333const composeEnhancers = window . __REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose ;
3434this . 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
3939sagaMiddleware . run ( weatherSaga ) ;
@@ -60,7 +60,7 @@ class App extends Component {
6060onHackerNewsToggled = ( ) => {
6161const hackerNews = ! this . state . hackerNews ;
6262if ( hackerNews ) {
63- // WHAT IS NOTOPTIMUM HERE?
63+ // WHAT IS NOTOPTIMAL HERE?
6464// App knows about the actions needed by the HackerNews component
6565this . store . dispatch ( fetchStories ( ) )
6666}
@@ -70,7 +70,7 @@ class App extends Component {
7070const weather = ! this . state . weather ;
7171
7272if ( weather ) {
73- // WHAT IS NOTOPTIMUM HERE?
73+ // WHAT IS NOTOPTIMAL HERE?
7474// App knows about the actions needed by the Weather component
7575this . store . dispatch ( { type :"LoadWeatherData" } ) ;
7676}