Skip to Main Content
Beginning Shadow DOM API: Get Up and Running with Shadow DOM for Web Applications
book

Beginning Shadow DOM API: Get Up and Running with Shadow DOM for Web Applications

by Alex Libby
March 2024
Intermediate to advanced content levelIntermediate to advanced
145 pages
2h 23m
English
Apress
Content preview from Beginning Shadow DOM API: Get Up and Running with Shadow DOM for Web Applications
© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
A. LibbyBeginning Shadow DOM APIApress Pocket Guideshttps://doi.org/10.1007/979-8-8688-0249-2_4

4. Supporting Other Frameworks

Alex Libby1  
(1)
Belper, Derbyshire, UK
 

Now that we have an understanding of the Shadow DOM API and how it operates, it is time to turn our attention to the broader picture – what if we use a framework such as React or Svelte?

It presents a challenge, given that not all frameworks use Shadow DOM API by default. All is not lost, though – take, for example, React: with some work, we can use the API without too much difficulty. In this chapter, we’ll explore some of the tricks we can use to reconfigure our sites to allow us to run the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Frameworkless Front-End Development: Do You Control Your Dependencies or are They Controlling You?

Frameworkless Front-End Development: Do You Control Your Dependencies or are They Controlling You?

Francesco Strazzullo
React Cookbook

React Cookbook

David Griffiths, Dawn Griffiths

Publisher Resources

ISBN: 9798868802492Purchase LinkPublisher Website