[FullStack] Composing Layouts In React [FCO]
In this course we show you how to build complex layouts in React by composing just a few foundational layout primitives. Along the way you will learn modern CSS Layout tools like Normal Flow, Flexbox, and Grid.
What You Will Learn
– What it means to compose layouts and why you should do it
– How to apply the principles of Encapsualted CSS in our React components
– The foundational layout primitives that every developer should know
CSS layout has grown and evolved into a robust set of tools to accomplish some fantastic modern layouts. The problem is that we are still teaching CSS as something that is” hacked” together by using” tricks” to get our desired web layouts. Learning CSS like this typically leads us down one of two paths: We either build fragile page layouts using the “see what sticks” method of CSS, or we give up and declare that CSS is too tricky and bring in an X column grid system like Twitter Bootstrap.
Creating page layouts in CSS doesn’t have to be complicated. Like how you make much of your everyday speech using just a small subset of vocabulary composed together, you can achieve sophisticated layouts by composing simple low-level layout primitives in unique ways.
In this course, you will learn foundational layout primitives that you can use to build many of your more complex layouts. You will also learn how to apply the principle of “Encapsulated CSS” to both extend these primitives as well as to create custom layout primitives. To do this, we will recreate many of the layouts found in the wild using the principles mentioned above.
This course does not require extensive knowledge of CSS. It does assume that you have a basic understanding of the CSS box model, CSS specificity, CSS selectors, and CSS sizing units. Though you can apply the principles in this course to any modern web framework, including no framework development, this course will be using React and assume you have a basic understanding of React, JSX, and React hooks.
Composing Layout in React is for both novice and experienced developers who want to take their layout skills to the next level. This course will teach you the practical skills you need to build modern layouts for the web without depending on heavy CSS frameworks. Unlike courses and blog posts that teach each layout property in isolation, our product teaches practical layout patterns that you can use every day when solving your layout challenges.
Who is this course for?
Composing Layout in React is for both novice and experienced developers who want to take their layout skills to the next level
👋 Hi! I’m Travis Waith-Mair. I am a senior front-end developer and the creator of the Bedrock Layout Primitives, https://bedrock-layout.dev/, a library of components designed to make layout composition easier.
I am also the author of The newline Guide to Composing Layouts in React here at newline.