You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "rusackas (via GitHub)" <gi...@apache.org> on 2026/05/07 03:31:28 UTC
Re: [I] TODO: Adopt React 18 concurrent features now that the upgrade has landed [superset]
rusackas commented on issue #39890:
URL: https://github.com/apache/superset/issues/39890#issuecomment-4393979248
Quick update from a first attempt at the **react-redux v8 bump**:
Tried `react-redux@8.1.3`. v8 tightened `useDispatch` / `connect` typing such that thunks no longer auto-resolve against `Dispatch<AnyAction>`. A spot-check on three SqlLab files surfaced ~50 new TS errors (`SqlLabThunkAction<X> is not assignable to AnyAction`, etc.). Across the whole codebase that's a multi-hundred-file migration to a typed `useAppDispatch` hook — too big to bundle into this issue.
Spun it off into **#39927** (Migrate to react-redux v8 with a typed AppDispatch / useAppDispatch). It's now a sub-issue rather than a checklist item here, so it doesn't block the rest of the concurrent-feature work.
Importantly: **`useDeferredValue` migrations don't depend on the v8 bump** — the tearing risk that v8 mitigates only manifests under `useTransition`. So we can keep shipping `useDeferredValue` PRs against v7 in the meantime, and `useTransition` adoption later will block on (or co-land with) the v8 effort.
Moving on to the `useDeferredValue` migration starting with `SqlLab/components/TableExploreTree/index.tsx` (the recently-debounced search).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org