Originally published at https://sdx.im/articles/libs/react-use-permissions
React hook for Permissions API.
Note: This is using the new React Hoo...
For further actions, you may consider blocking this person and/or reporting abuse
This looks helpful as React is now in Preview.
And would you add the link to the repo by chance?
You can show the repo using following ๐ syntax
, which will display the repo like this.
sergiodxa / react-use-permissions
React hook for Permissions API
react-use-permsissions
Install
Usage