Translating Dust templates to JSX center of this ten years (suffering from the endless JavaScript fram

Translating Dust templates to JSX center of this ten years (suffering from the endless JavaScript fram

Hello Habr! i am MiloЕЎ from Badoo, and also this is my very first Habr post, initially posted within our technology web log. Hope you enjoy it, and please share and remark when you yourself have any concerns

So… React, amirite.

It starred in the center of the ten years (suffering from the endless JavaScript framework wars), embraced the DOM, surprised every person by blending HTML with JavaScript and changed the net development landscape beyond recognition.

Dozens of accomplishments, without also being a framework.

Like it or hate it, React does one task very well, and that’s HTML templating. Along with a healthier ecosystem, it is perhaps perhaps not difficult to realise why it became probably the most popular and influential JavaScript libraries, or even the most used certainly one of all.

yeah, he said he *hates* javascript frameworks…can you think that?

Right right right Here within the mobile phone online group, we don’t follow any strict JS frameworks – or at the least, any popular people – and now we make use of a mix of legacy and technologies that are modern. Although that actually works well for people, manipulating DOM is normally difficult, so we desired to alleviate this by decreasing the wide range of В«manualВ» updates, increasing our rule reuse and stressing less about memory leakages.

After some research, respond had been considered the choice that is best therefore we chose to opt for it.

We joined up with Badoo in the exact middle of this method. Having bootstrapped and labored on React projects previously, I happened to be conscious of its benefits and drawbacks in training, but migrating an adult application with billions of users is a very different challenge|challenge that is wholly different. […]