
Version
latest bits
Describe the bug
Using hooks in a React App that hosts Web Chat, but uses a different version of React, results in error.
To Reproduce
Steps to reproduce the behavior:
- Build a basic React App using React version 16.8.0
- Insert the following hook:
React.useEffect(() => console.log('mounted'), []);
- Host Web Chat inside the app
- Run and open the page in a browser.
- Note that the page does not build, and there are console errors like screenshot above
Expected behavior
App should not error out.
Additional context
@compulim has is fix in the bit Redux Hooks PR, but needs to extract it in time for 4.6
[Bug]
Version
latest bits
Describe the bug
Using hooks in a React App that hosts Web Chat, but uses a different version of React, results in error.
To Reproduce
Steps to reproduce the behavior:
React.useEffect(() => console.log('mounted'), []);Expected behavior
App should not error out.
Additional context
@compulim has is fix in the bit Redux Hooks PR, but needs to extract it in time for 4.6
[Bug]