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 bumped react to v18 and fixed working under React.StrictMode, see #321. It will be released asap.
As for your screenshot - this warning wasn't caused by react-widget, it's something on your side. Try to grep your codebase with UNSAFE_componentWillMount and SideEffect keywords to detect the warning source.
Describe the bug
If My React component is enclosed with React.StrictMode, the Upload button doesn't appear always.
Install Create React App.
Make sure the index.js file has the React.StrictMode
Now write a component to import the widget.
Expected behavior
The widget should appear.
Code / screenshots
In index.js file
in UploadFile.js(JSX part)
The screen without the upload button:
The Warning in the console
Everything works fine if I remove the Strict Mode. The app is on React 18
Environment
The text was updated successfully, but these errors were encountered: