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
Hello. I installed the react-toolbox-example project and was able to use all the components without any problems. All of them except for the "Tabs" component.
This component simply doesn't show.
See this trivial App.js:
The Tabs and Tab objects are imported alright I think (at least they are not null). I tried to import them in 2 different ways (see code above) but the result is the same on both cases.
I want to point out the fact that any other component I tried it worked without any issues (and I tried almost all of them!)
Any ideas?
Alex
The text was updated successfully, but these errors were encountered:
The reason being was that since webpack lacks of tree-shaking capabilities, the bundler was including the whole react-toolbox lib in my bundle for a final size of around 9MB (sourceMaps on).
So I decided not to use the overrideComponentTypeChecker, which gave me a bundle size of 3MB.
Much better!!!.... but... for some reason the Tabs component is NOT working after that (even after restarting webpack)
If I use overrideComponentTypeChecker then Tabs are working again.
This ONLY happens with the Tabs component. All other components I have tried do work no matter I use overrideComponentTypeChecker or not.
Since react-toolbox-example is using v2.0.0-beta.5 or react-toolbox, I tried to upgrade it to v2.0.0-beta.11 but that did not help.
Hello. I installed the react-toolbox-example project and was able to use all the components without any problems. All of them except for the "Tabs" component.
This component simply doesn't show.
See this trivial App.js:
All I get on the screen is something like:
The Tabs and Tab objects are imported alright I think (at least they are not null). I tried to import them in 2 different ways (see code above) but the result is the same on both cases.
I want to point out the fact that any other component I tried it worked without any issues (and I tried almost all of them!)
Any ideas?
Alex
The text was updated successfully, but these errors were encountered: