Mark Erikson

Results 148 issues of Mark Erikson

## Background Copy-pasting my comment from https://github.com/reduxjs/redux-toolkit/issues/2637#issuecomment-1229091424 (and also similar thoughts in https://www.reddit.com/r/reduxjs/comments/1e4r3ts/the_worst_documentation_ever/ ): For very valid historical reasons, we have three separate libraries, each with their own repos: -...

> @markerikson we are calling the cli programmatically like this > > ```ts > const cliPath = require.resolve('@rtk-query/codegen-openapi/lib/bin/cli'); > > const runReduxCodegen = async (specUrl: string | undefined, configPath: string,...

RTKQ-Codegen

Per https://github.com/antoniomuso/lz4-napi/issues/429#issuecomment-3234531581 , this PR contains **AI-generated code** (with human tweaks) to implement Node streaming support: - Updated `package.json` to change the generated bindings filenames from `index.js/.d.ts` to `nativeBindings.js/.d.ts`, to...

Stacked on top of #1164 (perf tweaks) and #1183 (finalization callbacks). This PR: - adds a set of interception overrides for both mutating and non-mutating array methods that operate directly...

This PR: - Adds new options for the `StrictMode` shallow copying option: - `"with_symbols"` is an alias for the current `strict: false` behavior - `"full"` is an alias for the...

### What is the new or updated feature that you are suggesting? We're doing early collaboration with the React team on the design and behavior of the upcoming "concurrent stores"...

enhancement

This PR: - Is a first prototype to see if we can use the WIP React "concurrent stores" API as a replacement for `useSyncExternalStore` - Added a Yalc-built version of...

## Summary This PR: - Copy-pastes the `useSyncExternalStoreWithSelector` method from the `use-sync-external-store` package and converts it to TS - Updates `useSelector` to use our inlined version - Applies the modifications...

Tried adding a new typecheck job with `tsgo`, and got these errors: ``` Version 7.0.0-dev.20251207.1 Error: src/query/react/buildHooks.ts(1823,13): error TS2769: No overload matches this call. The last overload gave the following...

bug
RTK-Query
TypeScript

Jotting down some notes in the back of my head: - We should probably review TanStack Query to see if there's any additional useful ideas we can glean in terms...

enhancement
RTK-Query