Introduction:
React.StrictMode component is used to debug components and make sure they are written correctly. https://react.dev/reference/react/StrictMode
StrictMode is only active in dev mode thus it is not in effect when running production mode.
Problem:
When wrapping SyncLogViewer in StrictMode it becomes disfunctional:
Also in Dev Tools console we see errors:
This problem is interfering with development and also indicates a malfunction in the SyncLogView component.
Introduction: React.StrictMode component is used to debug components and make sure they are written correctly. https://react.dev/reference/react/StrictMode StrictMode is only active in dev mode thus it is not in effect when running production mode.
Problem: When wrapping SyncLogViewer in StrictMode it becomes disfunctional:![dfc100ca-19f3-49d7-baff-8f46287ca0d4](https://github.com/equinor/webviz-subsurface-components/assets/18436935/691bde71-db16-42b1-9252-e9f600c2ac67)
Also in Dev Tools console we see errors:![image](https://github.com/equinor/webviz-subsurface-components/assets/18436935/e052ef8b-b3e5-494e-a768-0ffc22f77373)
This problem is interfering with development and also indicates a malfunction in the SyncLogView component.