Comments (5)
Seems everything okay for me at a quick glance. Give it a try to find the problem. If not, ping me.
I'll try to debug.
from storybook.
I did sort it out. I forgot that this component was wrapped in a factory function. Once I sorted that out, it worked correctly.
Sorry for the noise.
from storybook.
Okay. Great.
from storybook.
I'm actually having the same problem. Any component created by class MyComponent extends React.Component
works just fine. But if they include any pure components, I get
No `render` method found on the returned component instance: you may have forgotten to define `render`, returned null/false from a stateless component, or tried to render an element whose type is a function that isn't a React component.
I have found that using an explicit return
helped. If using parens in a lambda-style pure component, the return
is not needed.
from storybook.
I am experiencing this one too. any solutions?
from storybook.
Related Issues (20)
- [Tracking] Core package consolidation
- Global overrides
- Official Svelte CSF
- Storybook tags
- [Bug]: Excessive React library requirement for angular storybook HOT 4
- [Bug]: Args are reset after refresh page in browser
- [Bug]: viteFinal() missing build.assetsInlineLimit from vite.config.ts
- Theming 2.0
- [Bug]: ESM presets are not loading in Windows HOT 1
- [Bug]: Bundled CSS imported through preview.ts is wrongly applied to the whole docs page HOT 4
- [Bug]: Bundling React Native 0.70 with minify enabled throws error in @storybook/preview-api HOT 13
- [Bug]: Storybook prefixing stories path './' causing not found module for stories files HOT 3
- [Bug]: Cannot add property __docgen, object is not extensible HOT 5
- [Bug]: Archlinux, Svelte, Unable to find versions of @storybook/cli using npm HOT 9
- [Bug]: Storybook cant handle imported types in components, svelte HOT 1
- [Bug]: Inflight has been deprecated HOT 8
- [Bug]: Storybook 8.1 does not display stories from composable (refs) like in previous version HOT 1
- [Bug]: Uncaught TypeError: __webpack_require__.nmd is not a function HOT 7
- [Bug]: Storybook starts but immediately terminates (Angular & Storybook 8.1.2 (8.1.3) HOT 8
- [Bug]: Inconsistent Error Handling and Promise Management in Storybook Normalize Angular Entry Plugin HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from storybook.