Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Add setGlobal to the withGlobal HOC #13

Closed
quisido opened this issue Nov 8, 2018 · 0 comments
Closed

Add setGlobal to the withGlobal HOC #13

quisido opened this issue Nov 8, 2018 · 0 comments
Assignees
Labels
feature A new feature is requested.

Comments

@quisido
Copy link
Collaborator

quisido commented Nov 8, 2018

Suggestion by @justinhandley in another issue.

Right now, import { setGlobal } from 'reactn'; should work without problem, however it may be more intuitive to include setGlobal in the HOC, similar to how react-redux uses mapStateToProps as well as mapDispatchToProps.

@quisido quisido self-assigned this Nov 8, 2018
@quisido quisido added the feature A new feature is requested. label Nov 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature A new feature is requested.
Projects
None yet
Development

No branches or pull requests

1 participant