You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have Swagger UI and Swagger Editor integrated with my React App but on checking the React Developer Tools, It gives an alert that the page is using an outdated version of React.
I know that npm dependencies of swagger-editor and swagger-ui both have the react dependency of v15.7.0 which can lead to this alert.
But I did try using the swagger-ui-dist and swagger-editor-dist, but no luck the react tools still say the outdated react version warning.
Swagger UI 3.x is tied to React 15. This includes swagger-ui-react. There are known compatibility issues with React 16 and React 17. If you are using React 16/17, I recommend that you render the applications separately. Closing this issue in favor of #7341.
Q&A (please complete the following information)
Content & configuration
I have Swagger UI and Swagger Editor integrated with my React App but on checking the React Developer Tools, It gives an alert that the page is using an outdated version of React.
I know that npm dependencies of swagger-editor and swagger-ui both have the react dependency of v15.7.0 which can lead to this alert.
But I did try using the swagger-ui-dist and swagger-editor-dist, but no luck the react tools still say the outdated react version warning.
Swagger/OpenAPI definition:
# your YAML here
Swagger-UI configuration options:
Screenshots
How can we help?
Is there a way to get rid of this outdated React version error on the app?
The text was updated successfully, but these errors were encountered: