Why React hooks, Using TypeScript with React, and Logi-less JSX
This post is based on a talk Simon gave at the React JS & React Native Bonn Meetup. It aims to answer the following questions:
JSX code can become messy and hard to read as components grow. This article presents some approaches to extract the logic away from it and keep it simple.
A recent React-based client project of Pete's required an HTML5 canvas animation. Already knee-deep in the new React hooks API, he decided to forgo the “traditional” technique of using componentDidMount and componentWillUnmount in a class-based component, and try his hand at rendering and animating a canvas using React’s new useEffect hook. This tutorial walks through the process.
Looking to make your web apps shine? Whether you use React every day, or are looking to build up your web dev skills with the latest modern techniques, at Manning Publications we’re always looking for ways to help developers grow. To help, we’d like to offer you 40% off everything in our entire catalog, including the following selection of books and video courses!
Just use the code reactnews40 when you checkout to save 40%. When you click the Add to Cart buttons below, we’ll enter the coupon code for you automatically.
A demonstration and starting point for applications using Next.js + Apollo GraphQL (hooks) + Prisma / GraphQL Yoga + JWT for authentication, and deploying to now.sh.
In this podcast episode, Kent Dodds and Dan Abramov talk about the ways in which you'll have to reconstruct your mental model of how React works in order to get the hang of hooks, and how hooks more closely align with React's intended model.
In this video, a professional React developer reviews a novice developer's React to-do App. He gives his opinion on the style, functionality and features of their code and provides feedback and suggestions on how to write better code.