how about using this approach for new storybook and react 18+?
@karoloco12 күн бұрын
Chantastic it is great to see you teaching about Storybook! I was following your React Podcast on Spotify and probably listened to all episodes! Can't wait to watch the rest of SB vidoes.
@ItIsMohammadreza15 күн бұрын
How can I automatically generate props and types documentation in Storybook without the story object, but still make the component appear in the sidebar?
@MinhNguyen-ym7ym15 күн бұрын
HI, Can I get your example project you show in this video
@ajaykarwal17 күн бұрын
I've followed both your video and the Storybook docs, and while I've got my own custom theme working... it only applies the theme when I stop and restart Storybook from the CLI. Hot reloading doesn't seem to work designing a theme is a pain!! Do you know if this is a bug or is there a way of getting hot reloading to work? I'm using Angular.
@SakethTadimetiАй бұрын
Does this work with react native ? i've tried adding the autodocs tag; but it never shows up.
@sadafamini-nia483Ай бұрын
You are awesome thanks
@hellboy6167Ай бұрын
Less info more talk shows
@vigneshkarthikprofessional9824Ай бұрын
Thanks for this Beautiful Knowledge bro
@mtfreytagАй бұрын
Why does my storybook/react not like me adding the javascript in the MDX files. when i try that i get "Could not parse expression with acorn"
@manuelasousa90372 ай бұрын
Hey, this seems very powerful however i have a question. Which types of bugs this finds and when? Ex. After class is changed etc
@TestingMatters2 ай бұрын
Visual regression testing is available in Playwright CT - which is now supported as a test framework in StoryBook 8.1 - Could you demo this capability ?
@cristianmelo77292 ай бұрын
doesnt work
@hungryhobbit2 ай бұрын
The Storybook docs are so bad I literally couldn't find basic answers and had to come here: thank you so much for explaining args!
@thany32 ай бұрын
So you can only ever create dropdown menus in the toolbar? No regular buttons or toggle buttons?
@АлексейЯцентюк3 ай бұрын
'storybook/internal/theming' is empty, so this video is not correct
@roymathew79563 ай бұрын
Very very helpful - thank you
@mytestaccount233 ай бұрын
Thank you! Short and concise but very helpful.
@mytestaccount233 ай бұрын
Thanks for this informative video!
@justingiovanetti3 ай бұрын
“With no test code”? You showed the test code.
@luisrodrigues6783 ай бұрын
How can I do to import an angular component in the mdx file without using Story tag?
@monkeystylle3 ай бұрын
is there a way where you can hide a folder of stories when you publish the storybook.. like hiding the internal components that you dont want to show on storybook?
@ismailbabatundebashiru60203 ай бұрын
🔥🔥🔥🔥
@longjiang20054 ай бұрын
The intro makes me cry 😭
@danielvegapino62774 ай бұрын
This sounds great, but not ao much on practice. Jsdom environment is way faster for behavioral testing, another downside of interactions on visual tests is that regression tools like chromatic can get slowed down significantly and also can screenshot during an i termediate step of an interaction. Which is a pain in the nuts to correct. I would recomend to use enforced static states for this visual tests and jsdom for interactions. If the accuracy of the data to the real life is an issue, consider using factories so it always make sense.
@AlexanderGee4 ай бұрын
I request a comma in the title of this video
@AbdulAlim-zg8vt4 ай бұрын
Autodocs is not working with web-components.
@georgeotegbeye4 ай бұрын
This was really educative, thanks 😊
@HenryJavangwe-l8z5 ай бұрын
Hi Why is there no documentation that is clear on how to use mdx format for other Frameworks other than React? How would I setup mdx in an Angular project. At the moment I keep getting an error regarding indexers
@zebcode3 ай бұрын
Same here. I created an mdx but it doesn't show in storybook
@KinanAlsakka5 ай бұрын
how can we use this with angular? there is any Docs for that?
@franklinm76445 ай бұрын
will this work on code written in JSP?
@sebastianthomas19016 ай бұрын
"Get free tests with just two lines!". Proceeds to write tests. So sick of these hype men talking nonsense and selling lies
@rabinpradhan56036 ай бұрын
What else can be actions can be used for except displaying the userEvent? Is this one is just use to replace the log or alert in the usecase story and show same value in action instead of the log or alert or there is also other use of this actions? Is it possible to get more than just the console. What I mean by this is is let's say that when I clicked in the button, then the new component get rendered. Is there a way to show something more useful in the action tab in such situation except just: onClick: () => action('Button Clicked')(),
@eduardoalvarez44576 ай бұрын
In case someone just came from the documentation using TypeScript and get errors everywhere, remember to rename your story from component.stories.ts to component.stories.tsx (notice the x at the end) as the decorator is JSX and its required for the TypeScript compiler to be valid.
@richardgoater93966 ай бұрын
Great content but I would suggest (my own) mantra "pros and cons over rights and wrongs". Dogmatic language is never helpful and programming is rife with it! Let's make things better 🙏
@razvan-rosu6 ай бұрын
Can the Storybook shortcuts be changed or disabled? If I have inputs on my story and I type a value in it, I toggle the storybook tools. IMO simple shortcuts as key "M" is a poor choice for a shortcut.
@shivers2226 ай бұрын
nice! thanks for making a short on this!
@abdoachhoubi5886 ай бұрын
Would this work for a react-native (expo) app??
@aureliolimaferreira94616 ай бұрын
hi, can i have access to my current theme (addon-theme) directly in my mdx file ? i wanna make my ColorPalette dynamic
@oneohthreejs6 ай бұрын
@chantastic In the last bit of this video you mentioned to refer to the docs. Noticed that sometimes the docs on the website don't have all the information in the github repo. Would you mind doing a demo of using the docs to find out these "hidden" options that aren't covered in the website?
@LandonTetreault6 ай бұрын
I'm curious why all of the new videos are being uploaded as unlisted? The last public one is from 5 months ago.
@Tyler-pz2ol7 ай бұрын
Does this work with react native?
@keteremillpario7 ай бұрын
I noticed you use `@storybook/testing-library` and `jest`, but nowadays Storybook 8 only gives you a package called `@storybook/test`. I presume it contains either Jest and Testing library, right?
@XiagraBalls7 ай бұрын
I'm using react-intl, so this won't work for me. 😔
@igorbeaver46927 ай бұрын
Great! But still don't get why writing action is better than just write console log
@Mateush4447 ай бұрын
How it works? How it's tested?
@aljonagvozdeva41667 ай бұрын
Thanks! That was very informative video. Quick question: if I want stories in docs to be a specific width rather than take full page width, how can I do that?
@rabinpradhan56037 ай бұрын
Hi, nice tutorial but what about the component using composition? I have component created with the composition and i am lost in the storybook args access and all. Issue is that user can not manipulate the storybook value because I am lost in managing the proper way to configure args in storybook for composition.
@rodrigonovais96247 ай бұрын
And how do I extend the theme maintaining the behavior of "responding to the user preferred color"? I want to change the brand icon and still want my user to decide for light or dark