-
Notifications
You must be signed in to change notification settings - Fork 356
Closed
Description
Hi, thanks for this amazing library.
I have noticed that you expose your internal implementation of dispatch. Haven't investigated if there is a proper reason for doing this, but from the DX point of view it's terrible because all projects that use Redux with VS Code will import it by mistake when what they want to do is really:
const { dispatch } = props;or
const dispatch = useDispatch();I would consider not exporting your lib's internal dispatch to outside users of the lib.
Metadata
Metadata
Assignees
Labels
No labels