GithubHelp home page GithubHelp logo

Comments (8)

jtmalinowski avatar jtmalinowski commented on May 17, 2024

Hi,
I think this should belong to a "contrib" kind of repository, unless something like coffee-react-transform is integrated into an official version of react.
However, @zpao is really in charge here when it comes to decisions like this one.

from react-rails.

TylerLH avatar TylerLH commented on May 17, 2024

I'm not sure what you mean. There's no real decision to be made here, I'm simply attempting to open a discussion about ways to interact with this transform in the context of Rails + React. Not asking for actual integration into this gem.

I assumed this would be an appropriate place for the discussion, but if you have another suggestion I'm open to it.

from react-rails.

jtmalinowski avatar jtmalinowski commented on May 17, 2024

Ok :)
It's a good place to discuss this for sure! I just meant implementation of this probably won't fit here.
But, it looks like it's not a very hard thing to implement. You (or anyone else) should be able to get this working in a separate gem in one evening.
I'm super busy right now, but I would happily take on this otherwise! Maybe one day :)

from react-rails.

TylerLH avatar TylerLH commented on May 17, 2024

Agreed. I may try the approach I mentioned above, as it does seem rather simple to do. If anyone has any input on this, I'd love to hear it!

from react-rails.

jtmalinowski avatar jtmalinowski commented on May 17, 2024

Hey, if you're talking about the implementation, then just fork the code we have, or fork the ember-rails directly (we try to steal whatever we can from ember-rails). JSXTransformer works in exactly the same way, so it will probably suffice to just change extension names, and JS files which do the dirty work, Sprockets will take care of the rest. Let me know if you need to know more!

from react-rails.

rmosolgo avatar rmosolgo commented on May 17, 2024

👍 would use. I'm digging React but I just can't quit CoffeeScript. Maybe I'll fork it and take a look...

from react-rails.

dapi avatar dapi commented on May 17, 2024

+1

from react-rails.

jtmalinowski avatar jtmalinowski commented on May 17, 2024

Closing - the issue referenced above contains more information than this thread.

from react-rails.

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.