News for hackers. Stuff that matters.
Re:How we built the new gocardless.com by quantisan on Thursday May 21, 2015 @11:56AM (#9583542)
I love what you guys have done. I'm interested to know what is the rationale for this? Are you finding that it helps improve conversion or something? Basically help me convince the business side of my company so that I can use this for our site too. :)
Re:How we built the new gocardless.com by english on Thursday May 21, 2015 @12:20PM (#9583699)
The performance wasn't really the main requirement for the project, it just fell out of the choice of using React.

We basically wanted to manage internationalised static content effectively. That meant reusing markup, but also making sure that you're linking to pages in the correct locale and not trying to link to pages that aren't available in your locale.

React is obviously good for templating and its been quite straightforward to implement the internationalisation logic too. Since it isn't much overhead at all to render on both the client and server, it seemed a no brainer.