-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using React component classes #345
Comments
Everything changed, not so easy to review...
|
Extension of #344 |
I cloned the repo then pushed. Didn't fork, why commit stories might be out of sync. |
No changes in behavior. Been working on network graph example only. Can draw connections between nodes as before. |
By migration doc, do you mean 'Polymer2-migration-notes.md'? That file is empty. Anyways, To you intend for this to branch to merged into this repository? If so there are a lot of things that needs to be fixed. But before we go to details, there are two major things that must be dealt with. For this to be at all possible to merge, it needs to:
1This branch seems to add more dependencies on Polymer. And furthermore changes the version to a yet-to-be-released version. Do the React components still work with old Polymer? Can the components be used without Polymer? Does it get us closer to working without Polymer somehow? 2I tested the
The other examples are completely broken, the intial graph does not even render. I tried to update to reflect the changed locations of some .js, and it still did not render. This to me suggests that not much testing of existing features was done... |
The essential (for my needs) functionality works for the network demo. I'm fed up with web development tbh. Still working knee deep in garbage most of the time. Lost my motivation. Can't look at code any more... Need a break for at least 6 months. This code is garbage as well, sorry. Not sure if you are the original author. Can't stand to look at anymore garbage... |
Ok, I am glad you were able to massage the code to fit your purposes! I am not the original author no, I took over because we use it in flowhub/noflo-ui. I don't believe in rewrites from scratch. Prefer to make it better iteratively. Some desired cleanups are docuemented in #314. Reducing framework dependencies is key. The benefits are small for this usecase, and the costs high due to their invasiveness (Polymer is real bad here) and API churn.. |
Hey, sorry, was in a bad mood when I replied before ;) I submitted migration notes now. Should be easy to migrate the Polymer classes to Rails classes I think. But yeah, I'm out of the game for a while.. would rather be a farmer than a developer at this point :p |
Shit happens :) Thank you for the migration notes! |
My polymer2 branch now has support for using ES6 classes with mixins.
Feel free to help upgrade the rest of the components to ES6 style
The text was updated successfully, but these errors were encountered: