react

Building size-aware React components

When building React apps, it is sometimes advantageous for components to have awareness of their size and position on screen. This is useful both...
Ben Edelstein
2 min read

Recreating the Chrome Console in React

One of the core features of LogRocket is the replay of console and Redux logs in production web apps. To do this, you add...
Ben Edelstein
4 min read

Make React Fast Again [Part 3]: Highlighting Component Updates

React is usually pretty fast, but it’s easy to make small mistakes that lead to performance issues. Slow component mounts, deep component trees, and...
Ben Edelstein
2 min read

Make React Fast Again [Part 2]: why-did-you-update

React is usually pretty fast, but it’s easy to make small mistakes that lead to performance issues. Slow component mounts, deep component trees, and...
Ben Edelstein
2 min read

Make React Fast Again [Part 1]: Performance Timeline

React is usually pretty fast, but it’s easy to make small mistakes that lead to performance issues. Slow component mounts, deep component trees, and...
Ben Edelstein
2 min read

Testing React Applications (Part 1 of 3)

For many years I dreaded front end development. It’s not because I don’t love making products or writing CSS, but rather it was virtually...
Matt Arbesfeld
3 min read

Leveraging the Console API in React apps

Most JavaScript developers are familiar with the console API, particularlyconsole.log(). However, there are a number of lesser-known console methods that are quite useful in...
Ben Edelstein
2 min read

Tips for styling React apps in JavaScript

While many developers still use CSS to style their React apps, writing styles in JavaScript has become an increasingly popular practice as it gives...
Ben Edelstein
1 min read