Why react-ability-kit
Keep authorization logic in one policy layer. Your components stop duplicating role checks, and permission changes happen in one place.
react-ability-kit
A small library that centralizes permission logic and keeps authorization out of your components.
Keep authorization logic in one policy layer. Your components stop duplicating role checks, and permission changes happen in one place.
User data feeds policy rules, policy rules build an ability, and UI consumes that ability through hooks and components.
User -> Policy -> Ability -> UInpm install react-ability-kit