Closed lazzyms closed 4 years ago
I updated the react version and tested with strictmode but I can't reproduce the warnings. The package shouldn't be using any legacy context. Can you try updating your package and see if it's still an issue?
Closing for now - will reopen if it's still an issue.
Warning:Legacy context API has been detected within a strict-mode tree.
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
Please update the following components: Clock, ClockWrapper, StyleRoot, StyleSheet, Time, Timepicker
Removing
<React.StrictMode></React.StrictMode>
supress the error but it renders default component, not the one I have modified with addingprops
or css and also not able to change the value.Versions:
React: 16.13.1
react-timekeeper: 2.1.1