feat(react): unified entry points(spa,rwa) for components, hooks, types#204
feat(react): unified entry points(spa,rwa) for components, hooks, types#204grandmaester merged 7 commits intomainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #204 +/- ##
==========================================
+ Coverage 88.65% 88.70% +0.04%
==========================================
Files 155 155
Lines 13148 13142 -6
Branches 1401 1401
==========================================
Hits 11657 11657
+ Misses 1491 1485 -6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
🚀 Preview deploymentBranch: 📝 Preview URL: https://auth0-universal-components-ngqdfpfu4-ui-components-217de888.vercel.app Updated at 2026-04-15T14:37:13.604Z |
|
Hey @rax7389 This specific line of code on Agents.md is for |
So what we can do for /rwa and /spa we can define 'Auth0ComponentProvider' and for other like blocks and hooks we can use unified path |


Changes
Currently, developers need to choose between /rwa or /spa imports for Auth0 UI components, types & hooks. This delegates implementation details (internal dependencies) to the developer and makes it confusing to understand what to use. We are not implementing the same for providers as of now due to its current architecture. Doing so may cause circular dependencies.
Testing
Examples


Build:

Unit Testing:

Checklist