Build and Document React Components With Storybook

  Рет қаралды 90,990

PortEXE

PortEXE

Күн бұрын

Пікірлер: 79
@shfunky
@shfunky 3 жыл бұрын
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.
@adomasgaudiesius
@adomasgaudiesius 2 жыл бұрын
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.
@codigomate
@codigomate 2 жыл бұрын
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.
@tukuyoma
@tukuyoma 3 жыл бұрын
now this is how you learn storybook...thanks man your content is top notch
@ToufikNefouci
@ToufikNefouci Жыл бұрын
the most underrated tutorial !!
@mabeleain3320
@mabeleain3320 Жыл бұрын
I can't thank you enough. I completely understand the storybook becz of your tutorial 😄
@fltngmmth
@fltngmmth 3 жыл бұрын
Best tut on the tube e: I havent even heard of this before. I wonder if it comes in tsc flavor.
@skverskk
@skverskk 3 жыл бұрын
Good intro tutorial to Storybook.
@pengurrito7136
@pengurrito7136 3 жыл бұрын
Good tutorial video in general, but the editing was fantastic! You kept everything moving at a steady pace with no unneeded detours.
@nicolotommasi4811
@nicolotommasi4811 3 жыл бұрын
I think I just found my favorite coding tutorials
@BigBetaTester
@BigBetaTester 2 жыл бұрын
Thanks for teaching how to organise my storybook with subfolder.
@abdu1wahid105
@abdu1wahid105 Жыл бұрын
Beautiful explaination! 🙏
@joshuahsieh436
@joshuahsieh436 3 жыл бұрын
great tutorial, and love the way you positioned and cut your camera feed overlay!
@skoodath
@skoodath 2 жыл бұрын
Great tutorial!
@romko-romario
@romko-romario 2 жыл бұрын
A great tutorial, it's helped me very much, thank you!
@dericmiano3660
@dericmiano3660 2 жыл бұрын
Thank you, be blessed for the good work.
@craig6494
@craig6494 2 жыл бұрын
Great tutorial
@em-it
@em-it 3 жыл бұрын
Great, thanks for the practical training 👍
@mayasalasad8184
@mayasalasad8184 2 жыл бұрын
thanks very helpful
@raminkhodaie4063
@raminkhodaie4063 Жыл бұрын
what if a component gets its some props from an external api call? how storybook can handle this props?
@xiazhuxia9582
@xiazhuxia9582 2 жыл бұрын
cool,but how can storybook components used by reactjs for example?
@sergeykahnwald6640
@sergeykahnwald6640 2 жыл бұрын
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_PhD
@SergiyAntonyuk_PhD 2 жыл бұрын
Very useful video. Thanks
@basselissa5176
@basselissa5176 2 жыл бұрын
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
@aqwandrew6330
@aqwandrew6330 2 жыл бұрын
Any tutorial with mdx?
@aryamantodkar3716
@aryamantodkar3716 3 жыл бұрын
Beautiful explanation🚀 thankyou
@andrepadez
@andrepadez 2 жыл бұрын
That was great! Is there a followup on how to use this setup to publish a component/hooks library to npm? Thank you
@rubenabrahamparedesjimenez5148
@rubenabrahamparedesjimenez5148 2 жыл бұрын
Thanks :D new sub here
@webboss
@webboss 3 жыл бұрын
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
@abodmedia
@abodmedia 3 жыл бұрын
hey after I do this can I just build with rollup and make it an npm package without adding anything further ?
@felipesnet
@felipesnet 3 жыл бұрын
What VScode theme is this?
@sanaowl3159
@sanaowl3159 2 жыл бұрын
Do you prefer yarn or npm when developing with react?
@KevinJTurner
@KevinJTurner 3 жыл бұрын
Fantastic tutorial!
@Luj8n
@Luj8n 3 жыл бұрын
Hey! What is that theme you are using?
@charlibiris
@charlibiris 3 жыл бұрын
Yes
@s3nsej118
@s3nsej118 3 жыл бұрын
I think it's called LaserWave
@Luj8n
@Luj8n 3 жыл бұрын
@@s3nsej118 Thanks!
@GeriatricWidowMain
@GeriatricWidowMain 3 жыл бұрын
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?
@PortEXE
@PortEXE 3 жыл бұрын
If you use those components throughout the codebase and you want to document how they are used and how to use them, then yes.
@andreaserrano3809
@andreaserrano3809 3 жыл бұрын
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-xb9tm
@GuilhermeFerreira-xb9tm 2 жыл бұрын
Thanks, that helps a lot
@stefankudla809
@stefankudla809 2 жыл бұрын
Thank you
@Dylancougar
@Dylancougar 2 жыл бұрын
Awesome
@okidokiyowyow356
@okidokiyowyow356 3 жыл бұрын
What device are you using? Yours is fast, but Mine is slow, delete and installing storybook
@tanzeelrana7348
@tanzeelrana7348 3 жыл бұрын
life saver !!
@madvillany420
@madvillany420 3 жыл бұрын
Where did you get that shirt? It’s so cool!!
@PortEXE
@PortEXE 3 жыл бұрын
Birthday present!
@nikusha5911
@nikusha5911 2 жыл бұрын
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.
@skoizumi291101
@skoizumi291101 3 жыл бұрын
Storybook can be work with native JavaScript?
@jasonlough6640
@jasonlough6640 3 жыл бұрын
@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?
@dgcp354
@dgcp354 3 жыл бұрын
I think it's spread operation,
@scriptkeeper8243
@scriptkeeper8243 3 жыл бұрын
Template.bind({}) makes it a copy/paste. Thus, the args ride along and you can manipulate them since they're spread.
@peryMimon
@peryMimon 3 жыл бұрын
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 )
@karthikeyansubbiah8792
@karthikeyansubbiah8792 3 жыл бұрын
excellent tutorial....
@Jay-zr8kx
@Jay-zr8kx 3 жыл бұрын
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 :(
@moalii7775
@moalii7775 3 жыл бұрын
Nice bro.
@magankumar8713
@magankumar8713 3 жыл бұрын
It helped. Thanks :-)
@VworksArt
@VworksArt 2 жыл бұрын
Should you NOT use storybook for normal react apps? Like, is this best used for libraries?
@romantyniv5381
@romantyniv5381 3 жыл бұрын
perfect. thanks
@peryMimon
@peryMimon 3 жыл бұрын
good one
@garyrouse7766
@garyrouse7766 3 жыл бұрын
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'.
@haiderali6915
@haiderali6915 3 жыл бұрын
can anyone explain what " Template.bind({}) " do here in stories?
@min11benja
@min11benja 3 жыл бұрын
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.
@bisolaO
@bisolaO 3 жыл бұрын
it helps to bind different variations of your component to your template function
@kirillzlobin7135
@kirillzlobin7135 Жыл бұрын
23:36
@oggy112
@oggy112 3 жыл бұрын
Awesome video, but one thing: this must be the first time I've heard someone pronounce `Enum` as `eenoom`
@thegrossmeyer
@thegrossmeyer 3 жыл бұрын
Enumerate or enumeration is pronounced "ee-noom-er-ate", so calling it either "ee-noom" or "ee-numb" is pretty common.
@fazalerabbi
@fazalerabbi 3 жыл бұрын
Tutorials is more about, how to delete files :-)
@JeanAlesiagain3
@JeanAlesiagain3 3 жыл бұрын
Why is he removing react-scripts?
@martinui4892
@martinui4892 3 жыл бұрын
Storybook is free ?
@PortEXE
@PortEXE 3 жыл бұрын
Yes
@voidmind
@voidmind 3 жыл бұрын
"--save"? You must be old ;p
@leftinashes
@leftinashes 3 жыл бұрын
...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!
@7alken
@7alken 3 жыл бұрын
understood, but its sooo fast, as everything, these days... sorry ))
@klaybond7739
@klaybond7739 3 жыл бұрын
Seems like lots of extra work
@kirillzlobin7135
@kirillzlobin7135 Жыл бұрын
Great tutorial
@abdu1wahid105
@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.
Build And Publish A React Component Library
24:02
PortEXE
Рет қаралды 108 М.
React Testing Crash Course
58:36
Traversy Media
Рет қаралды 321 М.
-5+3은 뭔가요? 📚 #shorts
0:19
5 분 Tricks
Рет қаралды 13 МЛН
The Lost World: Living Room Edition
0:46
Daniel LaBelle
Рет қаралды 27 МЛН
24 Часа в БОУЛИНГЕ !
27:03
A4
Рет қаралды 7 МЛН
Я 💛 Фронтенд. Я ❤ Storybook - Семён Левенсон
44:40
Storybook - Быстрый курс по работе и тестированию с React
37:39
Python Django Web Framework - Full Course for Beginners
3:45:41
freeCodeCamp.org
Рет қаралды 4,9 МЛН
Иван Нагайко - Storybook - проблема или решение проблемы?
1:00:24
HolyJS — конференция для JavaScript‑разработчиков
Рет қаралды 2,8 М.
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 500 М.
Storybook 7 Crash Course - React Typescript
28:23
Marius Espejo
Рет қаралды 49 М.
Learn React Query In 50 Minutes
51:09
Web Dev Simplified
Рет қаралды 324 М.
React State Management - Intermediate JavaScript Course
2:46:38
freeCodeCamp.org
Рет қаралды 336 М.
-5+3은 뭔가요? 📚 #shorts
0:19
5 분 Tricks
Рет қаралды 13 МЛН