Tag: React

Home / React
React 101 – The Practical Introduction
Post

React 101 – The Practical Introduction

Have you went through the official React’s Tic Tac Toe tutorial? If you have, you might notice this bolded text in the introduction You might be tempted to skip it because you’re not building games — but give it a chance. I’m guessing even React team knows that it’s not that interesting to build a Tic...

Crana – React & NodeJS apps in under a second
Post

Crana – React & NodeJS apps in under a second

I’ve used the opportunity of Hacktoberfest and tried to publish a project I was lately working on: Crana(CReate A Node App), a CLI tool which makes developing applications with a NodeJS backend and a React frontend a breeze. npm i -g crana crana init my-awesome-project cd my-awesome-project crana dev The problem Most of the projects I was working on...

Scalable React Components architecture
Post

Scalable React Components architecture

Originally posted at carloscuesta’s blog It’s been a while since I’ve started working with React and React-Native in production. One of the greatest things about React is the flexibility the library gives to you. Meaning that you are free to decide how do you want to implement almost every detail of your project for example the architecture and structure. However this freedom on the long term, could...

Smart Images in React Native
Post

Smart Images in React Native

Update. In order to avoid common pitfalls when dealing with React Native images, you should also checkout the story below. All these recipes are available in the react-native-expo-image-cache npm package. 5 Things to know about Images React Native medium.com Images & React Native is a delicate topic. In a recent project, I needed to cache image efficiently as well...

Rethinking JavaScript: The complete elimination and eradication of JavaScript’s this.
Post

Rethinking JavaScript: The complete elimination and eradication of JavaScript’s this.

If this is so difficult to reason about, why don’t we just stop using it? Seriously. Why. don’t. we. just. stop. using. it.? If you have read How I rediscovered my love for JavaScript after throwing 90% of it in the trash, then you won’t be surprised when I say I am throwing this away. this is gone. goodbye. this won’t be missed. With functional...

React v16.4.0: Pointer Events
Post

React v16.4.0: Pointer Events

The latest minor release adds support for an oft-requested feature: pointer events! It also includes a bugfix for getDerivedStateFromProps. Check out the full changelog below. Pointer Events The following event types are now available in React DOM: onPointerDown onPointerMove onPointerUp onPointerCancel onGotPointerCapture onLostPointerCapture onPointerEnter onPointerLeave onPointerOver onPointerOut Please note that these events will only work in browsers that...

How components won the “framework wars”
Post

How components won the “framework wars”

React vs Angular vs Vue: Why it doesn’t matter. 2018 marks the end of JavaScript fatigue and the “framework wars” A typical frontend/JavaScript developer career usually involves some jQuery and associated plugins before moving on to React, Angular or Vue. Having experienced React, Vue and Angular, it seems they solve similar problems in a similar...

Building a web app with Go, Gin and React
Post

Building a web app with Go, Gin and React

L;DR: In this tutorial, I’ll show you how easy it is to build a web application with Go and the Gin framework and add authentication to it. Check out the Github repo for the code we’re going to write. Gin is a high-performance micro-framework that delivers a very minimalistic framework that carries with it only the most essential features,...