From the course: Web Components and Modularization: Practical Approaches

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Structuring components

Structuring components

From the course: Web Components and Modularization: Practical Approaches

Start my 1-month free trial

Structuring components

- [Instructor] To wrap up this course, let's take a step back and look at the practical aspects of working with components. Starting with structuring the components themselves. During my research, I talked to lots of people, read lots of documentation and look at lots of components to find commonalities around how they are structured and shaped. And while there was a group great deal of variance between different people and approaches, some commonalities emerged that I'd like to share with you. First off, organization within project. One of the key benefits for working with with components is you can split a large project into many smaller components to make it more manageable. This is all about the developer experience. Because once the application or site is transpiled to the browser, everything gets mushed together and optimized for the browser. Keeping this in mind, the file and folder structure for your project…

Contents