What:
The README should include the list of examples. Each example item should contain:
- A thumbnail image.
- A title.
- A short description on the example's purpose.
- A link to the interactive playground (Codesandbox) with the respective example.
Why:
Carefully designed, a list of examples may substitute documentation at its entirety. At least it's a great illustrative showcase for practical learners and beyond.
How:
I suggest to split examples into sections based on the complexity level.
Basics
Intermediate
Advanced
What:
The README should include the list of examples. Each example item should contain:
Why:
Carefully designed, a list of examples may substitute documentation at its entirety. At least it's a great illustrative showcase for practical learners and beyond.
How:
I suggest to split examples into sections based on the complexity level.
Basics
Intermediate
<Only/>component.Layout.configure()to set custom breakpoints and custom measurement unit.query()utility function to compose inline media queries instyled-componentsAdvanced
useResponsiveQuery)<Visible/>to conditionally render components and support client-side hydration.