More posts about: React

es7 decorators with Phoenix and react

If you are using Phoenix to run your react application rather than create-react-app you can enable decorators easily in the brunch config

read more

Using React with Phoenix

I've been recently building api's using Elixir and Phoenix as well as some side projects. One of the project uses a very complex application written with React

read more

Testing react components with mocha.

Like most people I started my javascript unit testing experience with jasmine, adding karma as the test running for AngularJS and React projects. Everything was gravy until es2015 came along

read more

Putting propTypes first

Unless you've been using react to build apps with no data or props then you'll no doubt know how useful propTypes are to give real time type(ish) checking in you code

read more

Stateless react components

Generally when building applications with react you will have two types of components, smart and dumb. Dumb components are there for presentation, they take props and render them. They have no logic or state

read more