rss request feedme feedme request. The module feedme
Menu redux-actions redux-thunk redux-promise that help to deal with asynchronous actions. We connected our existing components to the store and modified...
We started this chapter by implementing the rss service. We used the request module to fetch feed contents. We obtained a Writable Stream from the feedme module and configured it to parse the input into our feed container object. We piped the feedme parser into the Readable Stream produced by request. The module feedme was missing the declaration file, so we provided it with an interface.
Then, we created the Menu service, which can be used to manage and persist the menu of feeds. We considered actions and state structure required by the application. We applied the redux-actions module for creating actions and the Reducer. On the way, we examined the optimistic updates approach. While creating the store, we practiced two store enhancers redux-thunk and redux-promise that help to deal with asynchronous actions. We connected our existing components to the store and modified...