Our March meetup was once again kindly hosted by Facebook at their cozy Euston office. 250 available spots were gone in just few hours after registration start, and so this blog will provide you with all the necessary materials to catch up on some important topics when developing React apps.
Implementing isomorphic app with React is not that hard - it provides an extremely useful method for serverside rendering of static HTML pages. There are however a few more issues you'll need to solve in order to get fully functional isomorphic app, like passing props from server to client. In his talk Jonas covers all the important aspects, from rendering initial state of the app on server to making snapshots of stores and implementing isomorphic Flux pattern.
There are few ways of doing so when implementing React app, most of them revolve around the idea of testing React components in isolation. React itself provides some batteries out of the box, and Facebook gently suggests more tools to achieve painless testing.
Robert tells his story of exploring different testing paths and covers a great deal of issues related to component based testing, caveats of using Jest, testing Flux flow, and even goes to mention new testing features of React 0.13.
Implementing an international app brings some interesting challenges like branding variations depending on country, localisation, support for multiple languages, different currencies and legal requirements. Stuart also performs a live demo of the app, showcasing how the app is rendered on both server and client, usage of data attributes to transfer localisation strings to the browser and how parts of the app were implemented as mini single page apps.
You too can try brand new Tesco mobile web app live - here is one for Thailand.
Big thanks for everyone who made it to the meetup, and who followed us online. Stay tuned for the React London April meetup announcement!