Skip to content
Logo Theodo

Articles for React/React Native

Load Previous Posts

How to write the perfect React component (a Theodo standard)

Clément Pasteau5 min read

What is the perfect React component?The component should have one purpose only, rendering The component should be small and easily understandable The component should rerender only if neededHow to create the perfect React component?Logic Functions Atomic Design Selectors and Reselectors Functions inside renderLogic FunctionsExport your…

Continue reading →

Load Scripts in Your React Bundle Asynchronously: Win at SEO!

Félix Mézière4 min read

On my current project, the team (and our client 😱) realised our React website performance rating was below industry-standard, using tools like Google Page Speed Insights.As reported by the tool, the main cause for this are render-blocking scripts like Stripe,

Continue reading →

React London 2017 Review

Jack Lawrence-Jones8 min read

On a breezy day in March, I, along with three other TheodoUK-ers, attended React London 2017. Standing in the stark light of the Westminster sun that silhouetted the brutalist architecture of the QEII Centre, we admired the conference's production value…

Continue reading →

React Native Layout Tricks

Louis Zawadzki3 min read

The basics of positioning are pretty well explained in the official React Native documentation. However, it only covers simple cases such as centering items or putting one element on top, middle and bottom.Here I intend to cover some cases that are…

Continue reading →

Adding Drag & Drop to Your Web App, the Simple Way (demos)

Pierre-Louis Le Portz5 min read

Drag & drop has become such a common feature on the web that people think it's a no-brainer for developers. A few months back, a client told me: "How can it be that hard, it's all over the internet!" and…

Continue reading →

Enzyme : Fast and Simple React Testing

Ambroise Laurent8 min read

React has quickly climbed its way to being a top framework choice for Javascript single page applications.What's not to like?A declarative syntax for UI Virtual-DOM for performance The possibility of server-side rendering.There is however one area that could be improved; its built-in…

Continue reading →

How To Create an Authentication System and a Persistent User Session with React Native

Fernando Beck11 min read

When developing a mobile app, it's common to have to build an authentication system. However, requiring the users to provide their username and password every time they launches the app, severely deteriorates the user experience. Lately, I have been working on a side…

Continue reading →

How to Load Your React Application Twice as Fast With Isomorphic Application

Clément Escolano5 min read

How to improve the speed of a React application? React is an incredible framework. You may have already learnt it from another post. However, it is a client-side framework and as such, it has a few drawbacks:search bots do not see…

Continue reading →

Bootstrap a Cross Platform App in 10 minutes with React Native

Grégoire Hamaide6 min read

Mobile Apps are a crucial part of our daily life.Yet, building a native mobile app for everyone requires to have knowledge in at least two languages: Java for Android and Swift or Objective-C for iOS.At least, that’s what I thought…

Continue reading →

Go With the Flow - A Static Type Checking Tool for JavaScript

Jérémy Dardour4 min read

Static Type Checking is Life, Static Type Checking is Love Javascript has been a hot topic for web developers for some time now.It's fast, runs everywhere and offers many wonderful frameworks such as Angular and React.However, its lack of static typing…

Continue reading →
Load Next Posts