tungd / react-catalyst

Collection of React helpers and mixins
MIT License
65 stars 7 forks source link

Support for ES6? #5

Open cezarsmpio opened 8 years ago

srph commented 8 years ago

react-link-state (linkState for ES6 components) will start supporting deep link-state when https://github.com/srph/react-link-state/pull/2 is merged. Thinking of merging with this project if that's good with a number of people.

tungd commented 8 years ago

Hi, I'm looking to this.

I created this repo thinking I would have used React more and could put more useful mixins here. I mainly use React through ClojureScript/Reagent, so you don't see lot's of update here, however If linkState is going to be deprecated I probably will still keep this one up and updating it as much as I could.

srph commented 8 years ago

Do you intend to support ES6?

tungd commented 8 years ago

The short answer is "of course". The problem is, as I'm aware of, there won't be support for mixins in ES6 class based components, so there's really little benefit rewriting in ES6 (the only improvement is the module system?). Anyways, ES6 is the way to go, I'm finding a way to package the code so it can be used in a composable manner.

srph commented 8 years ago

Alright. If you want me to merge my work with yours (deprecated mine), feel free to hit me up.