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
This bug only affect users who "npm install" Web Chat with devDependencies, e.g. playground or any packages that use npm link or lerna to include Web Chat in their build.
When botframework-webchat is installed with devDependencies, it installed React 0.14.9 due to transient dependencies from webpack-visualizer plugin.
botframework-webchat do not include devDependencies of React 16.8.6. This is because of the "Rules of Hooks" to maintain a single instance of React. We do include React 16.8.6 at the root package, so both playground and botframework-webchat-* will share the same instance of React.
To Reproduce
Steps to reproduce the behavior:
Clone the repository
Build
Run playground
Type help
Expected behavior
A list of commands are shown.
Instead, console log say thumbnailCard is having issues with React.useMemo.
Additional context
[Bug]
The text was updated successfully, but these errors were encountered:
Version
4.6.0
(master
)Describe the bug
This bug only affect users who "npm install" Web Chat with
devDependencies
, e.g. playground or any packages that usenpm link
orlerna
to include Web Chat in their build.When
botframework-webchat
is installed withdevDependencies
, it installed React 0.14.9 due to transient dependencies fromwebpack-visualizer
plugin.botframework-webchat
do not includedevDependencies
of React 16.8.6. This is because of the "Rules of Hooks" to maintain a single instance of React. We do include React 16.8.6 at the root package, so bothplayground
andbotframework-webchat-*
will share the same instance of React.To Reproduce
Steps to reproduce the behavior:
help
Expected behavior
A list of commands are shown.
Instead, console log say
thumbnailCard
is having issues withReact.useMemo
.Additional context
[Bug]
The text was updated successfully, but these errors were encountered: