Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Using Facade pattern with JSX

Using Facade pattern with JSX

Even though the JSX resemble HTML at the first glance it is only the description of the expected UI and is not the UI by itself. What if we can use this fact and play a little with the JSX tags to make the HOC that will allow us to create similar repetitive components in our apps? I will present a small pattern that I found quite useful in one project for creating different users list.

Olena Sovyn

June 20, 2017

More Decks by Olena Sovyn

Other Decks in Programming


  1. Why? • Business requirements are different between the projects •

    Size of the project are different • Our React ecosystem can be different between the projects • We do not know the future
  2. JSX

  3. JSX