-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some components seem to trigger an infinite loop in render function in Vue #1747
Comments
I have seen this happen, but I haven't been able to pinpoint why or how this happens. If someone could help debug this? 🤗 |
@ndelangen I'll put together a sample repository :) |
@ndelangen https://github.com/mattrothenberg/storybook-test As it turns out, I wasn't totally accurate in my initial diagnosis of the problem. I only started seeing the infinite loop error after pulling in a particular component from my favorite Vue UI library, Element UI. It appears that simply adding this particular component to the
Test Repository -> Component in Question Let me know if that helps! |
Are you sure you still don't have a |
@rndmerle You're right, removing that |
I know @kazupon added some code to make addDecorator work for vue? What could cause an infinite render in Vue? |
Hey, thanks for building such an awesome project! Stoked that we Vue.js developers can finally take advantage of it.
I ran into the following issue when trying to use the
knobs
addon.Assuming I have a template marked up thusly:
And a Vue component with a
computed
property marked up thusly:My console inevitably blows up with the following error.
The documentation around Vue.js + Storybook is pretty sparse. Is this the right pattern to be following?
The text was updated successfully, but these errors were encountered: