![Bug] "Invalid hook call" error after upgrading to Storybook 6 · Issue #11904 · storybookjs/storybook · GitHub Bug] "Invalid hook call" error after upgrading to Storybook 6 · Issue #11904 · storybookjs/storybook · GitHub](https://user-images.githubusercontent.com/2307245/89929521-ade6de80-dbdf-11ea-9e03-29f4edc86aa7.png)
Bug] "Invalid hook call" error after upgrading to Storybook 6 · Issue #11904 · storybookjs/storybook · GitHub
![Test Driven Development (TDD) with React Testing Library & Mock Service Worker | by Siri Lööf | ITNEXT Test Driven Development (TDD) with React Testing Library & Mock Service Worker | by Siri Lööf | ITNEXT](https://miro.medium.com/max/1400/1*Tvf7rMSGPQA7XnA38Gv9Iw.png)
Test Driven Development (TDD) with React Testing Library & Mock Service Worker | by Siri Lööf | ITNEXT
![Invalid hook call. Hooks can only be called inside of the body of a function component. ?? - DEV Community Invalid hook call. Hooks can only be called inside of the body of a function component. ?? - DEV Community](https://res.cloudinary.com/practicaldev/image/fetch/s--yEhQsgBl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/fcusb73cm3il4gi7jd46.png)
Invalid hook call. Hooks can only be called inside of the body of a function component. ?? - DEV Community
Storybook preview hooks can only be called inside decorators and story functions." error · Issue #30 · storybookjs/testing-react · GitHub
![Can't query for or fire events on mocked components · Issue #17 · testing- library/native-testing-library · GitHub Can't query for or fire events on mocked components · Issue #17 · testing- library/native-testing-library · GitHub](https://user-images.githubusercontent.com/756501/57813136-0355e680-7724-11e9-81ff-73116a922ed4.png)
Can't query for or fire events on mocked components · Issue #17 · testing- library/native-testing-library · GitHub
![Invalid hook call. Hooks can only be called inside of the body of a function component. ?? - DEV Community Invalid hook call. Hooks can only be called inside of the body of a function component. ?? - DEV Community](https://res.cloudinary.com/practicaldev/image/fetch/s--z1J2xS6r--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/hv997wqm47e9y0icaa17.png)