Code Monkey home page Code Monkey logo

Comments (6)

lilnasy avatar lilnasy commented on May 24, 2024 1

We already had experiments with DSD, the blocker was style encapsulation. Shadow DOM keeps its css rules contained, and astro can't move light dom elements into shadow dom transparently because CSS rules would stop applying.

from docs.

TheOtterlord avatar TheOtterlord commented on May 24, 2024

That sounds like a good idea. It's worth noting that Firefox 123.0 will release in a few days with support for DSD, which allows for 0 JS solutions. Could be a good thing to jump on early, since this brings DSD support to the last major browser.

from docs.

sasoria avatar sasoria commented on May 24, 2024

Yes, I'd love to see a Proof of concept of streaming with DSD in Astro! It looks like a potential polyfill isn't too large either. Maybe it also would work with framework components? 🕵️

from docs.

sarah11918 avatar sarah11918 commented on May 24, 2024

I would be happy to add out of order streaming to this page if we have a nice, clear, straightforward "happy path" example we can use here!

Remember, whatever we document, people will try, then complain if they can't get it to work. 😅 So, if you feel confident that you can create an example, then go for it! If not, then we can add a heading at the bottom for Out of order streaming, something like:

Out-of-order streaming

By default, Astro streams in order. For a community example implementing out-of-order streaming, see [Ben's awesome video]

What do you think?

from docs.

lilnasy avatar lilnasy commented on May 24, 2024

We don't have a happy path. This would need the platform team's attention, RFC, and implementation before docs should be concerned.

from docs.

sarah11918 avatar sarah11918 commented on May 24, 2024

Alright, then Ben's funky experiments aside, it sounds like this is probably not the time to introduce this into the docs!

Will close this for now, under "not everything Ben manages to accomplish should be in docs" 😄

from docs.

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.