Giter Site home page Giter Site logo

Document browser support about reactshadow HOT 5 OPEN

wildhoney avatar wildhoney commented on August 19, 2024 2
Document browser support

from reactshadow.

Comments (5)

Wildhoney avatar Wildhoney commented on August 19, 2024 3

It definitely is, but the polyfill does a fairly good job. However there are certainly outstanding difficulties, especially when it comes to embedding CSS in your shadow boundary.

We're not quite at the stage where Shadow DOM is ready for the main stage, but we're heading in the right direction at least. For the moment I'd consider Shadow DOM — and ReactShadow — purely experimental.

from reactshadow.

esteban-uo avatar esteban-uo commented on August 19, 2024 2

For the moment I'd consider Shadow DOM — and ReactShadow — purely experimental.

Would be great to have that in the main README.md @Wildhoney

from reactshadow.

CodingDive avatar CodingDive commented on August 19, 2024 1

You can check the browser support of shadow dom here. It keeps getting better 🎉

from reactshadow.

Wildhoney avatar Wildhoney commented on August 19, 2024

The library itself doesn't polyfill anything, but there's a really good polyfill for Web Components that will provide basic support for Shadow DOM in other browsers.

I've updated the example to use the polyfill, so you can see how it behaves in other browsers.

from reactshadow.

jamesmfriedman avatar jamesmfriedman commented on August 19, 2024

Thanks for the quick reply, and for updating the example!

Yeah I was looking at that polyfill this morning, I wasn't sure if it would just work out of the box or would require any sort of retooling. I know the ShadowDom specifically can be really really hard to polyfill.

from reactshadow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.