One of the best ways to learn React is by creating reusable components. Instead of using bootstrap or other frameworks when working with Grid layout, why don't make it yourself?
- Set up create-react-app with typescript template
- Create a simple Box component
- Create a Reusable Grid Component using Flexbox
- Create Grid Ruler using CSS Grid
- Handle Responsiveness in Grid Layout
- Add dynamic props JustifyContent and AlignItems
- Set up storybook
- Write Grid Document in storybook
- Deploy storybook with Netlify
React is a popular Front-end framework and one reason for that is the ability to create Reusable component, so why not start learning by creating those amazing components?
I am not going to go into details about Typescript in this video but you will have an idea of how React and Typescript working together
By working with the basic concept, we will use and master the basics of Flexbox and CSS Grid
SCSS + CSS modules
We are going to work with some of the most common features in SCSS like:
One of my first tasks, when I started my job, was maintaining the storybook for our design system.
Storybook is a great tool to document Reusable components or even multiple flows in UI.
We are going to use Netlify to deploy and host our storybook
🏝 Source code: Grid React Component
📝 Text Editor: https://code.visualstudio.com/
- Auto Import
For other resources, check out: