GithubHelp home page GithubHelp logo

Comments (5)

peey avatar peey commented on August 11, 2024 1

@jayphelps Babel has begun work on upgrading to stage 2 spec. We may not support the older spec in next major release. Would you like to join the discussion on Babel's slack? I've sent you an invite. (To anyone else who wants to join, you can get a slack invite from here and the discussion channel is #proposal-decorators)

As a decorators library author it'd be useful to get your thoughts on migration from stage 0 spec to stage 2 spec.

from core-decorators.

jkrems avatar jkrems commented on August 11, 2024

If you're just looking to play around / test out how it might work against the stage-2 spec, I did an initial implementation of a transform for babel 6 here: https://github.com/jkrems/babel-plugin-transform-decorators-stage-2-initial

(Note: class decorators are only partially implemented but method decorators should work mostly according to spec.)

from core-decorators.

jayphelps avatar jayphelps commented on August 11, 2024

@jkrems that's sweet! I will indeed take a look. Thanks for letting me know.

from core-decorators.

kevinSuttle avatar kevinSuttle commented on August 11, 2024

@jayphelps Seems they moved back to GitHub: babel/babel#2645

from core-decorators.

jayphelps avatar jayphelps commented on August 11, 2024

@peey thanks! Sorry I forgot to comment here, but I did visit the channel and do still plan to update core-decorators to be stage-2 compliant when a compiler (babel or TS) supports it 👍

from core-decorators.

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.