-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Version
4.6.0
Describe the bug
We're an Ember.js shop using Microsoft Bot Framework to implement a new bot in our web app. However, to render custom components through WebChat we've added React/ReactDOM to our build to be able to use the ReactWebChat component.
We want to make sure our version of React is as up to date as possible and due to the version locks in 4.6.0 our bot won't render due to duelling versions of React (see console error).
Current project versions:
"react": "^16.11.0",
"react-dom": "^16.11.0"
We've now had to change our CDN from
https://cdn.botframework.com/botframework-webchat/latest/webchat.js to https://cdn.botframework.com/botframework-webchat/4.5.3/webchat.js.
Enquiry
What are the reasons for locking React/ReactDOM in 4.6.0?
I'd like to be able to upgrade our project version of React to stay up to date.
Is there a plan to upgrade React beyond 16.8.6 and to stay up to date as versions are released?
To Reproduce
Steps to reproduce the behavior:
- open existing React Project (react/react-dom versions greater than
16.8.6) - At botframework through cdn
https://cdn.botframework.com/botframework-webchat/latest/webchat.js - Attempt to render bot through
ReactWebChatcomponent
Expected bug behavior
Open console, expect to see errors from screenshot below.
Expect bot not to render/run

