Test components the EASY way | Component Story Format 3

  Рет қаралды 14,156

Chromatic

Chromatic

Күн бұрын

Learn all about Storybook's declarative documentation and testing standard: Component Story Format.
Join chantastic for a 7 minute crash course on the latest standard!
▬ Links and resources ▬▬▬▬▬▬▬▬▬▬
CSF 3 announcement: storybook.js.o...
Storybook 7.0 sneak peak: storybook.js.o...
Storybook 6.5 announcement: storybook.js.o...
▬ Follow us! ▬▬▬▬▬▬▬▬▬▬
Discord: / discord
Twitter: / storybookjs
Instagram: / storybookjs
GitHub: github.com/sto...
Follow ‪@chantastic‬ on:
twitter: / chantastic
youtube: ‪@chantastic‬
▬ Learn more ▬▬▬▬▬▬▬▬▬▬
Storybook at learnstorybook...
Storybook addons at storybook.js.o...
Component driven UI development at www.componentd...
▬ Free Storybook hosting ▬▬▬▬▬▬▬▬▬▬
Chromatic is made by Storybook maintainers and sets up in just 2 minutes.
Claim free Storybook hosting at www.chromatic....!

Пікірлер: 15
@leifn
@leifn 2 жыл бұрын
This is so wonderfully clean! Can't wait to use it :)
@chantastic
@chantastic 2 жыл бұрын
It's so much fun! Let us know what you think when you try it out. Don't forget that it's available in 6.5 today without any feature flags!
@leifn
@leifn 2 жыл бұрын
@@chantastic i only need to convince the team haha
@hermit_dani
@hermit_dani 2 жыл бұрын
This is wonderful! great work. So excited to use it.
@chantastic
@chantastic 2 жыл бұрын
Thank you, Daniel! I hope it works well for you. Let us know. what you think :)
@haaxor1689
@haaxor1689 2 жыл бұрын
I'd really love to see typescript types in your tutorial videos. Especially for this feature since in the previous component format I've seen multiple ways of typing it and seeing you provide your preferred option would help. Also will will there be support for TS 4.9 soon after release? The `satisfies` operator will work nicely with the default export of story meta.
@chantastic
@chantastic 2 жыл бұрын
This is a great question! Thanks for asking! I'll be honest, I am not a TypeScript expert. But I know that the Storybook team has diligently been working on sound types for CSF 3. These will be realized in the 7.0 release. And I know that 4.9 (satisfies) is very much in mind. I'm going to add your request to my queue for Storybook 7.0 videos.
@Karine-ll5nr
@Karine-ll5nr Жыл бұрын
Hello! I didnt found how I can use a template with CSF 3, because one of my component is unsing (checkbox component, the label is projected into a ng-template), can you help me? Thanks!
@chromaticui
@chromaticui Жыл бұрын
Hi Karine! I'll be honest, I don't know much about Angular. But there are a lot of active Angular developers in the Storybook Discord discord.gg/storybook. It's also possible that the angular version of the documentation may be more helpful: storybook.js.org/docs/angular/writing-stories/introduction - chan
@guidogennari95
@guidogennari95 Жыл бұрын
How can I use hooks in my cs3 stories?
@chromaticui
@chromaticui Жыл бұрын
in which way are you attempting to integrate hooks with CS3? Hooks are naturally executed when the component story renders.
@JerricLynsJohn
@JerricLynsJohn 2 жыл бұрын
Svelte support?
@chantastic
@chantastic 2 жыл бұрын
The Storybook team is working on a strategy there. I think there's an ergonomic challenge there with folks wanting to using a Svelte native format for story authoring, instead of CSF. But I don't know all the details.
@VenelinNikolov
@VenelinNikolov Жыл бұрын
Everything gets super complex? I'm wondering why? I guess the main idea is to keep things simple, not over-engineering
@chromaticui
@chromaticui Жыл бұрын
could you elaborate?
Build Better Storybooks with Parameters | 3min tutorial
3:21
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
Component testing in Storybook with play functions
6:56
Chromatic
Рет қаралды 22 М.
Vapor: The Future Of Vue
21:27
Theo - t3․gg
Рет қаралды 129 М.
The ONLY REASON To Unit Test
8:26
Theo - t3․gg
Рет қаралды 90 М.
These tests use NO CODE | component testing in Storybook
4:40
React Storybook Crash Course
17:28
Web Dev Simplified
Рет қаралды 370 М.
React UI Library Structure, Storybook and Tests
22:50
Jack Herrington
Рет қаралды 51 М.
How to Test UI AUTOMATICALLY - Storybook and Chromatic
10:54
Chromatic
Рет қаралды 25 М.
How to connect props with Storybook controls
9:16
Chromatic
Рет қаралды 24 М.
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.