Git Product home page Git Product logo

Comments (7)

thehydroimpulse avatar thehydroimpulse commented on May 17, 2024

@jessep I'm assuming he means the former, but I'm not 100% sure.

from co.

mciparelli avatar mciparelli commented on May 17, 2024

I'd assume the same since co is a generators consuming library and has nothing in common with es6 transpilers, but wait until TJ confirms this just to be sure. What I can tell you for sure is that if you have a browser using some v8 version that supports generators this library will work in there.

from co.

thehydroimpulse avatar thehydroimpulse commented on May 17, 2024

@mciparelli Except that it's going to be almost impossible to use generators in the browser for a long time. Mainly because non-supported browsers will throw parsing errors upon finding generators, yields, etc... Unless there's some fancy way to solve it...

from co.

tj avatar tj commented on May 17, 2024

yup, when browsers actually support it well enough to bother

from co.

j avatar j commented on May 17, 2024

facebook recently released https://github.com/facebook/regenerator

from co.

jonathanong avatar jonathanong commented on May 17, 2024

i've been checking out regenerator and it's been working out pretty well (in node). what about just adding a component.json and calling it a day? people are free to add "regeneration" to their build step.

from co.

jessep avatar jessep commented on May 17, 2024

Well, that was a few years quicker than expected :)

from co.

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.