zakodium-oss / react-science

React components and tools to build scientific applications.
https://react-science.pages.dev
MIT License
2 stars 6 forks source link

Tooltip generates warnings in React StrictMode #610

Open targos opened 9 months ago

targos commented 9 months ago

Add strictMode: true to .storybook/main.ts

And npm run storybook:

CleanShot 2023-12-15 at 11 25 25

stropitek commented 9 months ago

No I think blueprintjs is still using those APIs in non legacy components and that should change in v6

https://github.com/palantir/blueprint/issues/5503

stropitek commented 9 months ago

More specifically: https://github.com/palantir/blueprint/issues/5503#issuecomment-1549786015

targos commented 9 months ago

So we can't silence this warning in the mean time?

targos commented 9 months ago

This is noisy in NMRium and there's now a big risk to miss other warnings and errors in the console.

stropitek commented 9 months ago

So we can't silence this warning in the mean time?

No. https://github.com/facebook/react/issues/16362

Only options I see is contribute to blueprintjs to make it faster or use another tooltip component in the mean time.