Last active
July 9, 2019 10:27
-
-
Save adamkleingit/2bfe85a57ee56a0dafda0abbffe3e43d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {useCurrentUser} from '../stores/currentUser.store'; | |
const Comp1 = () => { | |
const { user } = useCurrentUser(); | |
... | |
} | |
const Comp2 = () => { | |
const { user } = useCurrentUser(); // Same user | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment