Side-Effects in User Interfaces

Without side-effects, Immutable.js code wouldn't be able to interact with the outside world. Collections by themselves can only produce new data—they can't display data on the screen. To do this type of thing, you need side-effects. In this chapter, we'll cover two different approaches to rendering user interfaces using Immutable.js side-effects:

  • Rendering using native DOM APIs
  • Rendering using React
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.4.239