Skip to content
134: Mark Dalgleish - You Should Be Using Layout Components episode artwork

EPISODE · Feb 12, 2020 · 56 MIN

134: Mark Dalgleish - You Should Be Using Layout Components

from Full Stack Radio · host Adam Wathan

Topics include: What problems you run into when baking white space into components, and why your components should never contain any surrounding white space at all Layout challenges you run into due to the way the browser includes line-height in the size of text elements The trick Mark's team uses to remove surrounding white space from text elements, without removing the space between wrapping lines Using a "stack" component to specify the space between sibling elements Issues with naively just using margin on one side of an element to space elements The upcoming "gap" property in CSS and how it proves layout components are a good idea Using a "content block" component for horizontal spacing/sizing at the page level Tricks for maintaining vertical rhythm despite 1px borders trying to ruin it all for you Why tools like React are so important for being able to implement designs in a way that matches how designers think Links: "Rethinking Design Best Practices", Mark's talk at ReactiveConf 2019 Braid, the design system Mark works on Playroom Supporting the show: I decided to stop taking sponsors for the show because I think advertisements are annoying and no one wants to listen to them. If you do want to support the show, the best way to do it is to pick up one of my books or courses: Refactoring UI, a book and video series I put together with Steve Schoger on designing beautiful user interfaces, without relying on a designer. Advanced Vue Component Design, a course on designing simpler, more flexible Vue components that are both more powerful and easier to maintain. Test-Driven Laravel, a massive video course on designing robust Laravel applications with TDD. Learn how to build a real-world application from scratch without writing a single line of untested code. Refactoring to Collections, a book and video course that teaches you how to apply functional programming principles to break down ugly, complex code into simple transformations — free of loops, complex conditionals, and temporary variables.

Episode metadata supplied by the publisher feed · Published Feb 12, 2020

Embed this episode

In this episode, Adam talks to Mark Dalgleish about common mistakes people make in their approach to constructing layouts, and how dedicated layout components can make your component system much easier to work with.

Distinct summary based on available episode metadata or transcript content.

Ready to play

134: Mark Dalgleish - You Should Be Using Layout Components

0:00 56:33

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of Full Stack Radio?

This episode is 56 minutes long.

When was this Full Stack Radio episode published?

This episode was published on February 12, 2020.

Can I download this Full Stack Radio episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!