Reactime icon indicating copy to clipboard operation
Reactime copied to clipboard

expand time travel functionality to include useReducer

Open elliesimens opened this issue 11 months ago โ€ข 1 comments

Problem

React abstracts away Reducer logic and actions dispatched, which means we cannot capture that data for use in Reactime.

Solution

We attempted to override the hook in order to intercept that info before it is abstracted from the React Tree, but React caught this attempt and threw an error. Expanding functionality to include useReducer would be greatly beneficial to users, if possible.

Additional information

No response

๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Contributing

  • [ ] ๐Ÿ™‹โ€โ™‚๏ธ Yes, I'd love to make a PR to implement this feature!

elliesimens avatar Jan 03 '25 15:01 elliesimens