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
{{ message }}
Repository navigation
WARNING export 'withTooltipPropTypes' (imported as 'vxTooltipPropTypes') was not found #208
Also experiencing this issue with @data-ui/histogram. I tried rolling back to @vx/tooltip 0.0.165 to match the dependency of data-ui/histogram, but it had no impact.
I was able to hack around this problem following the suggestion here: #208 (comment)
The imports should look like this:
import TooltipWithBounds from '@vx/tooltip/build/tooltips/TooltipWithBounds';
import { withTooltipPropTypes as vxTooltipPropTypes } from '@vx/tooltip/build/enhancers/withTooltip';
I pushed a custom fork (with only the above fix) to our internal registry and that was enough to get past my most immediate obstacle. Agreed that the appropriate long-term strategy is to ditch data-ui entirely.
Activity
phenry2 commentedon Jul 2, 2021
Also experiencing this issue with @data-ui/histogram. I tried rolling back to @vx/tooltip 0.0.165 to match the dependency of data-ui/histogram, but it had no impact.
phenry2 commentedon Jul 2, 2021
Altering
data-ui/packages/shared/src/enhancer/WithTooltip.jsx
Line 8 in 169dd6d
To read;
from "@vx/tooltip/build/enhancers/TooltipWithBounds"Resolved the issue as withTooltopPropTypes exists here.
kaiyoma commentedon Oct 19, 2021
@schwannden @phenry2 Have you found a fix or workaround here? I'm upgrading to webpack 5 and now I'm starting to run into this as well.
phenry2 commentedon Oct 19, 2021
Sorry, I gave up and switched to a completely different package in the end. Everything I tried seemed to make it worse.
kaiyoma commentedon Oct 19, 2021
I was able to hack around this problem following the suggestion here: #208 (comment)
The imports should look like this:
I pushed a custom fork (with only the above fix) to our internal registry and that was enough to get past my most immediate obstacle. Agreed that the appropriate long-term strategy is to ditch data-ui entirely.
ninjaasmoke commentedon Feb 8, 2022
Hey, what package did you switch to?
phenry2 commentedon Feb 8, 2022
Start using carbon charts, they have a nice histogram. https://github.com/carbon-design-system/carbon-charts
coolbirdzik commentedon Jul 13, 2022
It's not a solution to this issue 😅