albertogasparin / react-magnetic-di

Dependency injection and replacement for Javascript and React components/hooks
MIT License
131 stars 7 forks source link

Is storybook 7 supported? #90

Open DenisQC opened 8 months ago

DenisQC commented 8 months ago

I have a sneaky suspicion that I might be doing something wrong, but I copy/pasted the examples on the readme and shooting console.log(debug(ModalOpenDi)); seems to always come back with undefined. I am using react native and storybook 7, so I wonder if maybe my setup is not supported somehow?

theKashey commented 8 months ago

Storybook has no effect of functionality of magnetic, it’s all Babel magic. Have you configured Babel plugin?