Session
How To TDD A Web Component
Web components seem simple. Just strap a couple of components and together, design them to look nice, and you're ready to put them on a page.
But really, they can get very complex quickly. Complexity breeds bugs, and wastes our time. We'd like our component to work on the first time, without all those bugs coming at us.
TDD to the rescue!
Test Driven Development is something that we usually apply to back-end logic. But it doesn't have to be. You can use TDD principles, along with the testing tools, of course, to build web components - keeping them simple and maintainable.
Oh and one more thing - working. When they leave you're hands they are working, and if you need to make changes, you've got the tests to protect you.
Web component don't seem like good candidates fot using TDD. You'll be surprised how well it works for them.
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top