Replies: 1 comment
-
Closing in favor of moving discussion to #24881 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Objective
Remove
react
andreact-dom
as a peer dependency ofaddon-docs
- or alternatively turn into an optional peer dependency.We want to enable non-React users to use
addon-docs
without needing to install React themselves and “bloating” their packages. React will no doubt remain innode_modules
as a transitive dependency, but that still feels nicer.Questions we want to answer
addon-docs
, while still allowing React users to use their own instance of React?👆is important, because React users need to be able to define which version of React they want to use for rendering their components and stories.
Beta Was this translation helpful? Give feedback.
All reactions