We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fcl.currentUser being a function confuses people, they are expecting it to be an instance of a class or object.
fcl.currentUser
We should be able to simplify the syntax so that the following is true:
import {currentUser} from "@onflow/fcl" // before currentUser().subscribe(callback) // after currentUser.subscribe(callback) // before currentUser().snapshot() // after currentUser.snapshot() // before currentUser().authenticate // after currentUser.authenticate // before currentUser().authorization // after currentUser.authorization // before currentUser().asArg // after currentUser.asArg
The text was updated successfully, but these errors were encountered:
currentUser
Addressed in #796
Sorry, something went wrong.
orodio
chasefleming
No branches or pull requests
fcl.currentUser
being a function confuses people, they are expecting it to be an instance of a class or object.We should be able to simplify the syntax so that the following is true:
The text was updated successfully, but these errors were encountered: