File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @styra/opa-react " : patch
3+ ---
4+
5+ Tweak cache key computation and minor performance enhancements
Original file line number Diff line number Diff line change 55
66This package contains helpers for using [ @styra/opa ] ( https://www.npmjs.com/package/@styra/opa ) from React.
77
8+ ## Features
9+
10+ * High-level, declarative components for embedding authorization decisions in your frontend code.
11+ * Built-in caching, deduplication, and state management based on ` @tanstack/react-query ` .
12+ * Optional ** request batching** for backends that support it (Enterprise OPA, or your own implementation of the Batch API).
13+
14+ ## Details
15+
816The package provides an ` useAuthz ` hook and a high-level ` <Authz> ` component.
917
1018They are enabled by wrapping your App into ` <AuthzProvider> ` :
You can’t perform that action at this time.
0 commit comments