React, etc. Tech Stack

React, Flux, GraphQL, Hack, HHVM...? All of this and more!

CSS Modules arrive to Create React App (CRA) in version 2.0

Image: 2018-01/react-css.png

There are numerous ways of bootstrapping Single Page Apps that user React.js for the UI layer. The Create React App (CRA) is one option, which comes from the Facebook developer team. Now this popular project adds standard CSS Modules support for styling components.

Written by Jorgé on Thursday January 18, 2018

Automatic React PropTypes to TypeScript Conversion

Image: 2018-01/lyft-react-typescript.png

React and TypeScript are an effective combination, but since the React is developed by Facebook in Flow (their strongly typing JavaScript technique), it's not always as easy as it could be.

Written by Jorgé on Wednesday January 17, 2018

Prisma is a database agnostic GraphQL API layer for Node.js

Image: 2018-01/prisma-graphql.png

Prisma is a new project from the Graphcool team. Following the Graphcool Framework, this is another GraphQL focused project from the BaaS (Backend as a Service) company from Berlin. Like PostGraphile, just announced - Prisma generates a GraphQL compliant API from a database.

Written by Jorgé on Tuesday January 16, 2018

Next.js to adopt React Router

Image: 2018-01/screen-shot-2018-01-16-at-15.21.32.png

Next.js is a powerful framework that is being deployed by companies like Ticketmaster, Docker, NPM and Magic Leap. The JavaScript framework developed by startup company Zeit is opinionated, which has kept some users unhappy. Especially regarding it's custom routing tool.

Written by Jorgé on Tuesday January 16, 2018

After.js, an alternative take on Next.js

Image: 2018-01/after-js.png

In 2018 there seems to be lack of Universal JavaScript frameworks. Kicking off with Sapper, the old guard of Next.js and Nuxt.js now have a new alternative in After.js. The project shamelessly admits that it's heavily inspired by Next and uses parts of Razzle as it's building blocks.

Written by Jorgé on Tuesday January 16, 2018

GraphCMS is an Open Source alternative to Contentful

Image: 2018-01/graphql-cms.png

Headless Content Management tools provided as services available via a HTTP API have grown in popularity. They are often used in scenarios where content plays a peripheral role and where functionality is complex and Monolithic CMSes like Drupal or WordPress are not ideal in their architectural approach.

Written by Jorgé on Monday January 15, 2018

JavaScript Spectre/Meltdown Vulnerability Check for Browsers

Image: 2018-01/tencent-logo.png

The serious flaws in CPUs made web applications written in JavaScript vulnerable to vicious attacks. With attackers being able to freely read memory using the speculative execution exploit, it is difficult to protect from these attacks as they can be deployed from the browser.

Written by Jorgé on Monday January 15, 2018

Dynamic JavaScript Module imports with TypeScript

Image: 2018-01/puzzle.jpg

ECMAScript modules added to the specification in ES6 (AKA ES2016) are now the de-facto way of writing modular JavaScript. The next step for modular JavaScript are dynamic imports. With dynamic expressions developers can include snippets of code on the fly when the app is running.

Written by Jorgé on Monday January 15, 2018

Popular JavaScript frameworks in 2018

Image: 2018-01/javascript.png

In the recent article on JavaScript Front End frameworks' popularity on Stack Overflow it was noted how fast the turnaround for frameworks is. Developers need to maintain an active mindset on learning to keep up with the trends of the dynamic job market. What are the most popular options in 2018?

Written by Jorgé on Friday January 12, 2018