Digests » 123
While I like the concept of the guarantees of structure and validity, I do recognise that there’s a lot of overhead in how it works for constructing just a single view server side. This is Why I decided to examine just how much overhead there is compared to more traditional templating engines that work on strings and don’t guarantee structure.
The module asserts that needed translations get loaded for your components and that your content gets rerendered on language changes. Based on the zero dependencies and build tools react-i18next is optimal suited for serverside rendering too.
GraphQL is a new query language for building APIs introduced by Facebook. It is more convenient than REST API in some cases and is supposed to replace REST in some areas. The main advantage of the GraphQL approach is that you need only one endpoint driven by a POST method instead of several endpoints and HTTP methods in REST.
Clean code is a consistent style of programming that makes your code easier to write, read, and maintain. Often a developer spends time on a problem, and once the problem is solved, they make a pull request. I contend that you aren’t done just because your code “works.”