होम / Storybook: Component-Driven UI Development / इंटरव्यू प्रश्न · English
Storybook Interview Questions Hindi mein
Storybook: Component-Driven UI Development कोर्स के 9 सवाल, हर सवाल के सही जवाब और explanation के साथ। जवाब देखने से पहले ख़ुद सोचें।
मॉड्यूल 11: Review और Summary 1. Storybook का primary purpose क्या है? Unit testing को replace करना Project dependencies को manage करना UI components को isolation में develop और test करना Production के लिए JavaScript bundle करना जवाब देखें जवाब: UI components को isolation में develop और test करना
Storybook component development और testing के लिए एक isolated environment प्रदान करता है, अन्य testing approaches को replace करने की बजाय complement करता है।
पाठ: Key Concepts Review
2. Storybook में story क्या दर्शाती है? A database table A build pipeline One state of a component A route in the app जवाब देखें जवाब: One state of a component
हर story component को किसी विशेष state में render करती है।
पाठ: Key Concepts Review
3. कौन-सा addon UI में props live बदलने देता है? Docs Viewport Backgrounds Controls जवाब देखें जवाब: Controls
Controls args को real time में बदलता है।
पाठ: Key Concepts Review
4. Decorator किसलिए उपयोग होता है? Wrapping stories with providers, themes or layout Compiling TypeScript Deploying Storybook Generating screenshots जवाब देखें जवाब: Wrapping stories with providers, themes or layout
Decorators हर story के चारों ओर साझा context जोड़ते हैं।
पाठ: Key Concepts Review
5. `play` function कहाँ चलता है? Before the build After the story renders, simulating user actions Only in production Inside the Figma plugin जवाब देखें जवाब: After the story renders, simulating user actions
Play functions render हुई story पर interactions और assertions चलाते हैं।
पाठ: Key Concepts Review
6. बिल्ड्स के बीच अनपेक्षित visual बदलाव कौन-सा tool पकड़ता है? ESLint Prettier Chromatic or Percy npm audit जवाब देखें जवाब: Chromatic or Percy
Visual testing हर story के screenshots की तुलना करता है।
पाठ: Key Concepts Review
7. a11y addon क्या जाँचता है? Bundle size Network speed Git history Accessibility violations such as missing labels and low contrast जवाब देखें जवाब: Accessibility violations such as missing labels and low contrast
यह हर story पर axe checks चलाता है।
पाठ: Key Concepts Review
8. Storybook में समृद्ध documentation pages कैसे लिखें? MDX with DocsPage Plain JSON SQL scripts Shell aliases जवाब देखें जवाब: MDX with DocsPage
MDX Markdown को live component examples के साथ मिलाता है।
पाठ: Key Concepts Review
9. CI में Storybook tests क्यों चलाएँ? To replace code review To catch component regressions on every commit To minify CSS To rename stories जवाब देखें जवाब: To catch component regressions on every commit
Automated interaction, a11y और visual tests UI गुणवत्ता की रक्षा करते हैं।
पाठ: Key Concepts Review
← कोर्स पर वापस जाएँ