O'Reilly logo

Cross-platform Desktop Application Development: Electron, Node, NW.js, and React by Dmitry Sheiko

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

 

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required