# Interview Questions और Cheat Sheet — Storybook

Source: https://www.geekswithgeeks.com/hi/storybook/sb-interview-prep

> Common questions और best practices के साथ Storybook-related technical interviews के लिए prepare करें।

## Common interview questions

ये common Storybook interview questions master करें: Component-driven development क्या है? Decorators कैसे काम करते हैं? Stories और tests में क्या अंतर है? Controls को कैसे use करते हैं?

## Best practices summary

Stories को focused और isolated रखें, prop testing के लिए controls का use करें, edge cases को document करें, testing के लिए addons का use करें, और Storybook को अपने CI/CD के part के रूप में deploy करें।

## Quick reference

याद रखें: stories documentation और development के लिए हैं, tests behavior को verify करते हैं, controls interactive exploration enable करते हैं, और addons capabilities को extend करते हैं। ये Storybook के effective usage की foundation बनाते हैं।

## Real-world Storybook setup

एक example production-ready Storybook configuration।

```ts
export default {
  stories: ['../src/**/*.stories.tsx'],
  addons: [
    '@storybook/addon-essentials',
    '@storybook/addon-a11y',
    '@chromatic-com/chromatic',
  ],
};
```

## Storybook debugging techniques

Component issues को quickly debug करने के लिए React DevTools, browser console, और Storybook's built-in tools का use करें।

## Interviews में Storybook

अपने Storybook setup को discuss करने के लिए तैयार रहें, कैसे इसने आपकी development process को improve किया, और specific stories जो आपने लिखी हैं।
