Do take a moment to go through the video above, this was during the last Facebook conference, F8. In it, it reveals their thinking and their strategy to solve one of the many problems of today's challenging data-driven application, be it web, app or both together. When I first found out what Facebook is up to, I started to go through their documentation, tutorials and workable examples posted on their site. I quickly love the way the have planned and executed for ReactJS! It was simply brilliant. Not even backbone, AngularJS or even my favourite Dojotoolkits come close to what these guys have been up to!
The simple one way, unidirectional flow of data just make sense on so many levels. It makes the code easier to read and understand even though it may be huge in size and functionalities. This is especially true if you are going to maintain somebody else's work. The code itself, the pattern is enough for you to get started.
One of the first few digital campaign that I use ReactJS is Johnson & Johnson's Baby of the Year.
However, I was proven wrong on this.
I managed to pull this off, only to have some data corruption on image transfer from device to server because some device has slow internet connection and timeout happens too fast for those users. Otherwise, I think it was quite a successfully web app that I did in a long time. For those of you canine lovers, who had been watching Dentastix very closely, you might had added your beloved canine with one of our smiling face template.
I managed to pull this campaign off within the work of around 2-3 weeks, all these thanks to the simple and good execution of ReactJS coupled with Flux. I was able to always focus on solving my problem bit by bit while never have to focus on how I should manage those data flow in the web app.
And at that time, ReactJS can still be compiled using browserify and uglify, and now it even supports ES6. And of course, we need to use Babel for that purpose, of compiling our code for older browser's consumption. But web development is moving lightning fast, and there are quite a number of frameworks and toolkits out there that had taken notice of ReactJS and its simpler way of data flow logic, and they began to roll out interpretation or should we put it, flavours of their own.