react-catalyst icon indicating copy to clipboard operation
react-catalyst copied to clipboard

Support for ES6?

Open cezarsmpio opened this issue 10 years ago • 5 comments

cezarsmpio avatar Nov 04 '15 18:11 cezarsmpio

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.

srph avatar Nov 06 '15 05:11 srph

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.

tungd avatar Nov 06 '15 08:11 tungd

Do you intend to support ES6?

srph avatar Nov 06 '15 08:11 srph

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.

tungd avatar Nov 06 '15 08:11 tungd

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

srph avatar Nov 06 '15 09:11 srph