redux-toolkit
redux-toolkit copied to clipboard
Investigate tests that verify "Go to Definition" / "Find References" behavior
It'd be nice to have tests that validate and preserve whatever existing "Go to Definition" behavior we have, like going from import { increment } to export const { increment } to reducers: { increment() }.
References:
- https://www.reddit.com/r/reactjs/comments/1ahbh7z/how_to_see_what_reducers_an_action_leads_to_more/
- https://twitter.com/acemarke/status/1759375144089227275
- https://twitter.com/souporserious/status/1759423682689274086
- https://ts-morph.com/navigation/finding-references#quotgo-to-definitionquot