These are chat archives for canjs/canjs

25th
Apr 2018
Justin Meyer
@justinbmeyer
Apr 25 2018 17:05
about to start the stream: https://www.youtube.com/watch?v=l5yhXO_yhQs
you can ask questions here
Thomas Sieverding
@Bajix
Apr 25 2018 19:07
Whats the current state of JSX integration?
Kevin Phillips
@phillipskevin
Apr 25 2018 19:09
nothing direct
you can check out react-view-model: https://canjs.com/doc/react-view-model.html if you want to use JSX
Thomas Sieverding
@Bajix
Apr 25 2018 19:10
I’m not too particularly interested in JSX tbh. I just realize that there are a lot more open source plug and play components written in react than there is in CanJS and I want to assess my options on how I can take advantage of that
It would be really nice were there a CanJS equivalent of Material UI
I was thinking JSX to stache conversion could simplify things, or alternatively using some other approach
Mohamed Cherif Bouchelaghem
@cherifGsoul
Apr 25 2018 19:21
@Bajix I think can components are easier to reason about compared to react's ones and you can have the same features with less lines of code you can compare this two:
https://github.com/cherifGsoul/can-places-autocomplete/blob/master/src/can-places-autocomplete.js
https://github.com/kenny-hibino/react-places-autocomplete/blob/master/src/PlacesAutocomplete.js