Skip to content

Instantly share code, notes, and snippets.

View markerikson's full-sized avatar

Mark Erikson markerikson

View GitHub Profile
@markerikson
markerikson / rtk-v3-roadmap.md
Last active November 1, 2026 10:40
rtk-v3-roadmap

I'm excited to announce an initial roadmap towards Redux Toolkit 3.0!

I have a lot of thoughts and ideas I've been bouncing around for years, and far more research docs than can fit into a Github post :) This writeup is an attempt to lay out these thoughts in a coherent plan, share where I think Redux should go in the near future, cover the scope of the probable work, list the likely breaking changes, and start getting user feedback on what you need and would like to see as we go forward.

TL;DR: RTK v3 will ship ESM-only, improve customization for RTK Query and createSlice, and have a modest set of breaking changes aimed at improving usability and DX. Leading up to that, in 2.x we'll clean up internal implementation for more consistent and documented behavior, and ship a number of frequently-requested new features as well as some opt-ins for 3.0 behaviors ..

You can browse through the overall roadmap and see the workstreams, issues, and planned releases via the main roadmap issue:

@markerikson
markerikson / replay-react-bug-report.md
Created April 17, 2026 01:55
Draft: How Replay Helped Find a React Bug Faster Than Dan Abramov Did

Replay Case Study: How Replay Helped Find a React Bug Faster than Dan Abramov Did

Authors: Mark Erikson Cover photo: No Date: April 17, 2026 hidden: Yes tags: Case studies, Story

We’ve always said that Replay time-travel recordings enable developers to solve really hard bugs, by giving them the ability to inspect the app’s behavior at any point in time. This is especially true for timing bugs and race conditions, where it may be impossible to actually debug them with standard developer tools that would block the race condition from even happening. Now, with Replay MCP, we’re giving agents those same time-travel investigation superpowers.

@markerikson
markerikson / lwj-redux-2024.md
Created January 4, 2024 16:24
Learn with Jason, 2024-01-04 - What's New in Redux Toolkit 2.0?
@markerikson
markerikson / lwj-redux-2023.md
Last active June 7, 2023 23:43
Learn with Jason, 2023-06-08 - Redux in 2023

Learn with Jason, 2023-06-08: Redux in 2023

Topics:

  • Changes to Redux / RTK since 2021
    • Redux core:
      • v4.1: better error messages
      • v4.2: deprecated createStore to encourage RTK usage
    • React-Redux
  • v8.0: useSyncExternalStore, TS
@markerikson
markerikson / rtk-esm-ts-notes-2023-02-27.md
Last active September 20, 2025 14:48
RTK ESM/TS Config meeting notes - 2023-02-27/28

RTK ESM/TS Discussion

Attendees:

  • Nathan Bierema
  • Mateusz Burzynski
  • Mark Erikson

Notes

  • Mateusz: what do you want besides "ship widely compat code?" What preferences?
@markerikson
markerikson / react-data-fetching-lib-notes-2023-02-16.md
Last active May 15, 2023 11:04
React Data Fetching Library Summit notes - 2023-02-16

React Data Fetching Library Summit - 2023-02-16

Attendees

  • Lenz Weber-Tronic
  • Dominik Dorfmeister
  • Fredrik Hoglund
  • Jerel Miller
  • Alessia Bellisario
  • Andrew Clark
@markerikson
markerikson / job-search-questions.md
Last active August 14, 2025 07:07
Assorted questions to ask companies in interviews

Questions

Company

  • company location / remote?
  • what project management method?
  • good and bad company culture?
  • performance reviews?
  • what's the path to profitability?
@markerikson
markerikson / next.config.js
Created November 2, 2021 20:12
Work app Next.js config
// omit imports and stuff
// Using Next 11.1
module.exports = withPlugins(
[
withBundleAnalyzer({
enabled: process.env.ANALYZE === 'true'
})
],
@markerikson
markerikson / AppErrorFallback.tsx
Created July 1, 2021 13:43
Next.js ErrorBoundary example
import React from 'react';
import Jumbotron from 'react-bootstrap/Jumbotron';
import Alert from 'react-bootstrap/Alert';
import Button from 'react-bootstrap/Button';
import { FallbackProps } from 'react-error-boundary';
interface AEFProps extends FallbackProps {
@markerikson
markerikson / chatsSlice.ts
Last active June 8, 2025 06:37
Nested `createEntityAdapter` example
// Example of using multiple / nested `createEntityAdapter` calls within a single Redux Toolkit slice
interface Message {
id: string;
roomId: string;
text: string;
timestamp: string;
username: string;
}