Hooks: React’s do-notation || Devansh Jethmalani / Writings
Using global memoization in React
When our React apps get slow, we usually turn to useMemo to avoid useless job on re-render. It’s a hammer that often works well, and makes it hard to shoot yourself in the foot. But useMemo is not a s
How to destroy your app performance using React contexts
useContext hook has made React Context API so pleasant to work with that many people are even suggesting that we drop external state management solutions and rely on the built-in alternative instead.
When to useMemo and useCallback
Performance optimizations ALWAYS come with a cost but do NOT always come with a benefit. Let's talk about the costs and benefits of useMemo and useCallback.
How to use React.memo() to improve performance
Learn how to use React.memo, some common pitfalls you might encounter, and why you shouldn't use React.memo for all your components.
React is slow, what now? | NoSleep Javascript Blog
We study React applications performance from the ground up, the processes involved, the tools to measure and identify slow parts, the important metrics to take in account, how these impact the UX and the various ways there are available to make applications super fast and smooth. Grab a cup of coffee and enjoy the ride. By franleplant
Immutability in React and Redux: The Complete Guide
Learn about side effects and how to avoid them, how to wield immutablity to update objects and arrays in Redux reducers, and the easy way to update state with Immer.
Past, Present, and Future of React State Management – Lee Robinson
Learn about the history of state management in React and what the preferred solutions are today.
React hooks the rebirth of state management
Creating a React component with TDD
Join me in this post as I create a React component using Test Driven Development (TDD) approach. I...
Redux side effects and you. Should you care about alternatives to… | by Francois Ward | JavaScript and Opinions | Medium
Should you care about alternatives to the venerable redux-thunk?
File-based routing with React Router | Omar Elhawary
Next.js-inspired file-based routing for client-side React with React Router and Vite
How to use React Context like a pro - Pierre Ouannes
React Context can be a very powerful tool, and there are several tricks to using it effectively.
Blogged Answers: A (Mostly) Complete Guide to React Rendering Behavior
Details on how React rendering behaves, and how use of Context and React-Redux affect rendering
A Complete Guide to useEffect — Overreacted
Effects are a part of your data flow.
Importing React Through the Ages | Epic React by Kent C. Dodds
How and why I import react using a namespace (`import * as React from 'react'`)
React Query Error Handling | TkDodo's blog
After covering the sunshine cases of data fetching, it's time to look at situations where things don't go as planned and "Something went wrong..."
Basit Bir Hesap Makinesi Nasıl Responsive Yapılır ?
Basit hesap makinesinin styling yapmıştık. Şimdi de farklı farklı platformlar için Responsive olmasını sağlamaya çalışacağız.
A Visual Guide to React Rendering - It Always Re-renders | Alex Sidorenko
Contrary to popular belief, by default, react component doesn't care whether its props changed or not. It will always re-render when its parent renders.
Blogged Answers: Why React Context is Not a "State Management" Tool (and Why It Doesn't Replace Redux) · Mark's Dev Blog
Definitive answers and clarification on the purpose and use cases for Context and Redux
How to test asynchronous methods
Avoid Nesting when you're Testing
Why using hooks like beforeEach as a mechanism for code reuse leads to unmaintainable tests and how to avoid it.
Modern React testing, part 3: Jest and React Testing Library — Artem Sapegin’s Blog
Learn how to test React components with Jest and React Testing Library, and how to apply testing best practices.
Stop using isLoading booleans
Why using a status enum (or even better: a state machine) will help your app stay bug free
Manage your States Easily and Keep it Clean with Redux-Toolkit in React Native
I’m Ilter from Istanbul, Turkey. I’m Jr Mobile Developer & Senior (4rd Year) EE engineering student who has a passion for software…
Demystifying styled-components
For so many React devs, styled-components seems kinda magical. It isn't at all clear how it uses traditional CSS features under-the-hood, and that lack of clarity can cause real problems when things go awry. In this post, we'll learn exactly how styled-components works by building our own mini-version.
How to manage global state with XState and React - DEV Community 👩💻👨💻
Many React applications follow the Flux architecture popularised by Redux. This setup can be characte...
Implementing the Container Pattern using React Hooks | by Sonny Recio | Bits and Pieces
How to use the useState hook to create a functional container component.
Next.js with MobX
In this article I will go over using MobX with Next.js in a more practical manner than the with-mobx example in the Next.js repo. While the official example provides a good understanding of how to install and configure MobX, it does not do a good job of indicating how it can be practically used especially in the case of multiple stores and in a page with getInitialProps. This example will show you how to setup MobX in Next.js as well as how to hydrate the client side store with server side data.
TypeScript + React: Component patterns
Articles on web dev and software engineering: TypeScript, JavaScript, Rust, and more!