or subscribe with
Join 6,400+ readers for one email each week.
Digests » 231
The KendoReact team curated the top productivity tips of 25 React experts, from smart ways to hit the ground running with React to advanced productivity hacks. Includes ideas from Emma Wedekind, Kent C. Dodds, vjeux and many more. Check them out!
this week's favorite
Gatsby is a static site generator, based on React. You can connect Gatsby up to a variety of sources, and query all of it through GraphQL. Source data can come from anywhere: a REST API, CSV file, database, you name it. It doesn’t need to originate from a GQL source.
On a whimsical Sunday afternoon, I decided to brush up with React. I made the excellent choice of reviewing this talk from Kent C. Dodds, and planned out a relatively straightforward project to explore the different abstractions provided by the framework: build a reusable component to share a quote, or a tweet.
When a user visits a webpage, the location is the the first (and probably the only) data the app has to generate a UI. The location is matched against a set of routes, a route is selected, (maybe) data is loaded, and finally the UI is rendered.
The hooks are an exciting addition to React and undoubtedly one that helps us to separate the logic from the template. Doing so makes the above logic more testable. Unfortunately, testing hooks does not prove to be that straightforward. In this article, we look into how we can deal with it using react-hooks-testing-library.
A utility to convert raw SVG files into accessible and extendable React Components.