Cool tutorial man, thank you! Small tip at 5:00, you can just type " code . " in command line and it'll open vscode in current directory.
@adomasgaudiesius2 жыл бұрын
Finally! I understand what storybook is for. Omg, I spent 12h today and only now I get it. Its for a component library without an app... Thank you my dude.
@codigomate2 жыл бұрын
It can also be for an app with custom components or complex components. If you want to document and test your components in isolation is a good unit.
@tukuyoma3 жыл бұрын
now this is how you learn storybook...thanks man your content is top notch
@ToufikNefouci Жыл бұрын
the most underrated tutorial !!
@mabeleain3320 Жыл бұрын
I can't thank you enough. I completely understand the storybook becz of your tutorial 😄
@fltngmmth3 жыл бұрын
Best tut on the tube e: I havent even heard of this before. I wonder if it comes in tsc flavor.
@skverskk3 жыл бұрын
Good intro tutorial to Storybook.
@pengurrito71363 жыл бұрын
Good tutorial video in general, but the editing was fantastic! You kept everything moving at a steady pace with no unneeded detours.
@nicolotommasi48113 жыл бұрын
I think I just found my favorite coding tutorials
@BigBetaTester2 жыл бұрын
Thanks for teaching how to organise my storybook with subfolder.
@abdu1wahid105 Жыл бұрын
Beautiful explaination! 🙏
@joshuahsieh4363 жыл бұрын
great tutorial, and love the way you positioned and cut your camera feed overlay!
@skoodath2 жыл бұрын
Great tutorial!
@romko-romario2 жыл бұрын
A great tutorial, it's helped me very much, thank you!
@dericmiano36602 жыл бұрын
Thank you, be blessed for the good work.
@craig64942 жыл бұрын
Great tutorial
@em-it3 жыл бұрын
Great, thanks for the practical training 👍
@mayasalasad81842 жыл бұрын
thanks very helpful
@raminkhodaie4063 Жыл бұрын
what if a component gets its some props from an external api call? how storybook can handle this props?
@xiazhuxia95822 жыл бұрын
cool,but how can storybook components used by reactjs for example?
@sergeykahnwald66402 жыл бұрын
Storybook is a cool package) But there are some cases when we don’t need all the power of storybook, but just a simple “test page” with all our components where we can play with its props. There is one package that works just fine for this, called storybox-react
@SergiyAntonyuk_PhD2 жыл бұрын
Very useful video. Thanks
@basselissa51762 жыл бұрын
I am getting error in project setup at running npm sb init error @storybook/addon-postcss@3.0.0-alpha.1: The engine "yarn" is incompatible with this module. Expected version "^1.17.0". Got "1.13.0" error Found incompatible module
@aqwandrew63302 жыл бұрын
Any tutorial with mdx?
@aryamantodkar37163 жыл бұрын
Beautiful explanation🚀 thankyou
@andrepadez2 жыл бұрын
That was great! Is there a followup on how to use this setup to publish a component/hooks library to npm? Thank you
@rubenabrahamparedesjimenez51482 жыл бұрын
Thanks :D new sub here
@webboss3 жыл бұрын
Would you recommend MDX over normal stories. What are possible pros and cons with using both? Great video by the way. Leading my team to create a component library and this was very helpful
@abodmedia3 жыл бұрын
hey after I do this can I just build with rollup and make it an npm package without adding anything further ?
@felipesnet3 жыл бұрын
What VScode theme is this?
@sanaowl31592 жыл бұрын
Do you prefer yarn or npm when developing with react?
@KevinJTurner3 жыл бұрын
Fantastic tutorial!
@Luj8n3 жыл бұрын
Hey! What is that theme you are using?
@charlibiris3 жыл бұрын
Yes
@s3nsej1183 жыл бұрын
I think it's called LaserWave
@Luj8n3 жыл бұрын
@@s3nsej118 Thanks!
@GeriatricWidowMain3 жыл бұрын
How would this work regarding business logic of components? If you can't re-use them, is there any tangible benefit to creating re-useable components through storybook for complex components coupled with unique business logic?
@PortEXE3 жыл бұрын
If you use those components throughout the codebase and you want to document how they are used and how to use them, then yes.
@andreaserrano38093 жыл бұрын
For those of you that run into this error when starting storybook --> Error: Cannot find module 'webpack/lib/node/NodeTemplatePlugin' Just run this --> npm install --save-dev webpack webpack-cli html-webpack-plugin webpack-dev-server webpack-dev-middleware
@GuilhermeFerreira-xb9tm2 жыл бұрын
Thanks, that helps a lot
@stefankudla8092 жыл бұрын
Thank you
@Dylancougar2 жыл бұрын
Awesome
@okidokiyowyow3563 жыл бұрын
What device are you using? Yours is fast, but Mine is slow, delete and installing storybook
@tanzeelrana73483 жыл бұрын
life saver !!
@madvillany4203 жыл бұрын
Where did you get that shirt? It’s so cool!!
@PortEXE3 жыл бұрын
Birthday present!
@nikusha59112 жыл бұрын
Hello , storybook has a problem when installing it. My audit was clean before I installed storybook. It says: "19 high severity vulnerabilities". These vulnerabilities are about "chokidar" , "webpack" and so on. Could you tell me how to solve this problem ? I have googled and tried many things and as far as I have become I think it's Storybook's own problem. Anyone any help ? Thanks in advance.
@skoizumi2911013 жыл бұрын
Storybook can be work with native JavaScript?
@jasonlough66403 жыл бұрын
@34:45, how are args getting into the function? I see that it works, but whats the mechanism? Put another way: how is adding a property to Default (Default.args = {...} ) connected to Default(args)? Hows args getting in there?
@dgcp3543 жыл бұрын
I think it's spread operation,
@scriptkeeper82433 жыл бұрын
Template.bind({}) makes it a copy/paste. Thus, the args ride along and you can manipulate them since they're spread.
@peryMimon3 жыл бұрын
I have a question How to use the block in the MDX file. when I try it the code color come gray ( and I hade the language :jsx attribute )
@karthikeyansubbiah87923 жыл бұрын
excellent tutorial....
@Jay-zr8kx3 жыл бұрын
hmm for me adding proptypes does not automatically generates the controls. I would have to manually go to stories and add args or argTypes to show the controls :(
@moalii77753 жыл бұрын
Nice bro.
@magankumar87133 жыл бұрын
It helped. Thanks :-)
@VworksArt2 жыл бұрын
Should you NOT use storybook for normal react apps? Like, is this best used for libraries?
@romantyniv53813 жыл бұрын
perfect. thanks
@peryMimon3 жыл бұрын
good one
@garyrouse77663 жыл бұрын
anyone know how to get ccs modules working? I'm getting 'CSS Loader has been initialized using an options object that does not match API schema'.
@haiderali69153 жыл бұрын
can anyone explain what " Template.bind({}) " do here in stories?
@min11benja3 жыл бұрын
I think it adds a sub list on the left sides components accordeon. I mean visually not sure of what it really does under the hood besides that.
@bisolaO3 жыл бұрын
it helps to bind different variations of your component to your template function
@kirillzlobin7135 Жыл бұрын
23:36
@oggy1123 жыл бұрын
Awesome video, but one thing: this must be the first time I've heard someone pronounce `Enum` as `eenoom`
@thegrossmeyer3 жыл бұрын
Enumerate or enumeration is pronounced "ee-noom-er-ate", so calling it either "ee-noom" or "ee-numb" is pretty common.
@fazalerabbi3 жыл бұрын
Tutorials is more about, how to delete files :-)
@JeanAlesiagain33 жыл бұрын
Why is he removing react-scripts?
@martinui48923 жыл бұрын
Storybook is free ?
@PortEXE3 жыл бұрын
Yes
@voidmind3 жыл бұрын
"--save"? You must be old ;p
@leftinashes3 жыл бұрын
...and if that is the case then you should mind your elders and learn something! Oh that's right... Trolls don't believe in such constructs!
@7alken3 жыл бұрын
understood, but its sooo fast, as everything, these days... sorry ))
@klaybond77393 жыл бұрын
Seems like lots of extra work
@kirillzlobin7135 Жыл бұрын
Great tutorial
@abdu1wahid105 Жыл бұрын
Thanks, shows truly high level knowledge, yet swoops down low enough so develepers of every ability can cross the finish line! There are not enough teachers like this. ⭐Liked and subscribed.