-
-
Notifications
You must be signed in to change notification settings - Fork 517
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ReactComponent is too tightly coupled to specific version of React #7213
Comments
The react version can be configured by declaring |
It is not clear to me if I can distribute a package using a React version not the same as the one the current version of Panel uses. And not the same version as some other ReactComponent extension version. |
As I mentioned above, there is no such thing as the "version of React that Panel uses", the version is configurable on the component itself by setting the |
Ok. Then we should document it. Because if extension developers do not set this value themselves their extension packages will only work for very specific versions of Panel. |
Absolutely, it is documented as part of the compile and bundle how to guide now but should be made more prominent in the reference guide as well. |
I've been hit several times by the fact that the Panel
ReactComponent
uses a specific version ofReact
. Currently 18.3.1.ReactComponent
will only work for a narrow band of Panel versions because Panel will and should keep the react version updated. This makes these components hard to maintain.Please remove the issues above.
The text was updated successfully, but these errors were encountered: