INSTANT documentation with Storybook 7 AUTODOCS | Quick Tips

  Рет қаралды 7,742

Chromatic

Chromatic

Күн бұрын

Пікірлер: 27
@mytestaccount23
@mytestaccount23 3 ай бұрын
Thank you! Short and concise but very helpful.
@dweebycat9929
@dweebycat9929 Жыл бұрын
Thank you! This was quick and helpful!
@chromaticui
@chromaticui Жыл бұрын
Glad it helped! Hit me up if you have any topics you'd like to see covered - chan
@ItIsMohammadreza
@ItIsMohammadreza 16 күн бұрын
How can I automatically generate props and types documentation in Storybook without the story object, but still make the component appear in the sidebar?
@sebastienbacs
@sebastienbacs Жыл бұрын
Hello! Very helpfull tutorial, thank you! How can I set documentation like these on defined slots & emits in my Vue 3 project?
@chromaticui
@chromaticui Жыл бұрын
my understanding is that Vue 3 slots are not globally supported in this way yet
@SanderCokart
@SanderCokart Жыл бұрын
is there a way for the autodocs to watch for changes made in components? Now in order to see what happend I have to restart storybook when using comments
@chromaticui
@chromaticui Жыл бұрын
seems strange that you would have to fully restart. could you say more on the specific versions your using?
@chromaticui
@chromaticui Жыл бұрын
additionally, the Storybook Discord is the best place to get help with Storybook discord.com/invite/storybook
@SanderCokart
@SanderCokart Жыл бұрын
7.3.2 react-vite framework@@chromaticui
@SanderCokart
@SanderCokart Жыл бұрын
I am already in it@@chromaticui
@SakethTadimeti
@SakethTadimeti Ай бұрын
Does this work with react native ? i've tried adding the autodocs tag; but it never shows up.
@abdoachhoubi588
@abdoachhoubi588 6 ай бұрын
Would this work for a react-native (expo) app??
@nuvotion-live
@nuvotion-live 11 ай бұрын
Is there any way to leverage this feature for non-ui code like hooks and util functions included with my component library package? I would love to use jsdocs to auto generate them and not have to manually write them
@chromaticui
@chromaticui 10 ай бұрын
not that i'm aware of. but there are others in discord that may have run experiments - chan
@jeremytenjo
@jeremytenjo Жыл бұрын
@BraianMellor
@BraianMellor Жыл бұрын
can you explain the same (autodocs) but with Material UI types? it's not populating into the table
@chromaticui
@chromaticui Жыл бұрын
hi braian! could you share what you're attempting to do in a storybook.new sandbox?
@SanderCokart
@SanderCokart Жыл бұрын
This also only works I believe with 1 component per file so component composition like Shadcn or Radix is not supported. It can only infer a single interface, typically top level only
@chromaticui
@chromaticui Жыл бұрын
story files don't have to be written one-to-one with components. many teams create a number of story files to document named exports on multi-component modules. chan
@SanderCokart
@SanderCokart Жыл бұрын
@@chromaticui im saying if you have an Accordion, Accordion Item and Accordion Trigger in 1 file, autodocs will only infer the types and js doc blocks of the first component, in this case Accordion, Item and trigger are ignored despite them having their own props interfaces.
@MaminaZvezdochka
@MaminaZvezdochka Жыл бұрын
Is there any chance to merge autodocs file with MDX documentation?
@chromaticui
@chromaticui Жыл бұрын
not sure i fully understand the request. is it possible that Docs Pages fit the bill you're looking for? it's a way to customize the autodocs template using Storybook Doc Blocks. kzbin.info/www/bejne/p2m2imevrrN4bLM - chan
@AbdulAlim-zg8vt
@AbdulAlim-zg8vt 4 ай бұрын
Autodocs is not working with web-components.
@BaraiEnt
@BaraiEnt Жыл бұрын
Начало работы со StoryBook
23:42
Михаил Непомнящий
Рет қаралды 50 М.
5 Tips for integrating Next.js with Storybook
27:17
Chromatic
Рет қаралды 24 М.
Help Me Celebrate! 😍🙏
00:35
Alan Chikin Chow
Рет қаралды 86 МЛН
Will A Basketball Boat Hold My Weight?
00:30
MrBeast
Рет қаралды 85 МЛН
Кәсіпқой бокс | Жәнібек Әлімханұлы - Андрей Михайлович
48:57
Un coup venu de l’espace 😂😂😂
00:19
Nicocapone
Рет қаралды 11 МЛН
Storybook 7 Crash Course - React Typescript
28:23
Marius Espejo
Рет қаралды 46 М.
10 React Antipatterns to Avoid - Code This, Not That!
8:55
Fireship
Рет қаралды 755 М.
How to connect props with Storybook controls
9:16
Chromatic
Рет қаралды 23 М.
Storybook can do.... WHAT???
9:08
Nx - Smart Monorepos - Fast CI
Рет қаралды 9 М.
Test components the EASY way | Component Story Format 3
7:26
Chromatic
Рет қаралды 13 М.
How to Configure the Sidebar | Storybook Quick Tip
7:59
Chromatic
Рет қаралды 4,6 М.
UI Libraries Are Dying, Here's Why
13:28
Theo - t3․gg
Рет қаралды 316 М.
Help Me Celebrate! 😍🙏
00:35
Alan Chikin Chow
Рет қаралды 86 МЛН