Better HN
topnewbestaskshowjobs
Log inSign up

english

2 karma · joined May 21, 2015 (11y ago) · 1 submissions

Submissions

comment 11y ago · link · parent

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.