Mark Erikson

Results 1264 comments of Mark Erikson

Note for later reference - Sindre Sorhus has a big gist with instructions on switching to pure ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c

Added an issue noting that we should mark the object case reducer syntax as deprecated with a runtime warning: https://github.com/reduxjs/redux-toolkit/issues/2301

Per https://github.com/reduxjs/redux-toolkit/issues/930 , we should consider replacing the current `Dictionary` type in the entity adapter state, which treats values as `T | undefined`, with a simple `Record` that just says...

We should also revisit a lot of our TS types and see if they can be simplified now that we're dealing with more modern TS (4.2+). Vaguely related, someone was...

Dropping a key link in here about how to improve package publishing: https://github.com/frehner/modern-guide-to-packaging-js-library

Hypothetical idea. The types for `createSlice` are a pain, and part of that is the need to deal with `prepare` callbacks. Asked Lenz about it and he pseudo-coded something like...

A couple more Twitter requests for RTK 2.0 ideas: - https://twitter.com/acemarke/status/1572243884704681985 - https://twitter.com/acemarke/status/1586385909745852423 - https://twitter.com/acemarke/status/1481720259975344128 and a poll on Redux code-splitting usage: - https://twitter.com/acemarke/status/1580991161358962688

More thoughts: see if we can optimize our TS types performance (like, time it takes TS to parse things). Ref thread: https://twitter.com/AndaristRake/status/1574836992214536193

TanStack Query is discussing changing their `cacheTime` flag (equivalent to RTKQ's `keepUnusedDataFor` option) over here: https://github.com/TanStack/query/discussions/4252 might be worth considering seeing if there's a couple ways we could align our...

Check to see about turning on TS's `declarationMap` option for better "Go To Definition" behavior: - https://github.com/expo/expo/blob/837aa7ef2d0d62f796aa08555a42bd327891fc83/packages/expo-module-scripts/tsconfig.base.json#L15 - https://twitter.com/Baconbrix/status/1577321773208670210