2 ms·
I'm looking at React now, as our first experience of Angular had a really steep learning curve, and it's going to be a hard sell to our UI team who have been wr
by EdwardDiego 12y ago
I'm looking at React now, as our first experience of Angular had a really steep learning curve, and it's going to be a hard sell to our UI team who have been writing Wicket for a long time - we're moving away from Wicket in some areas as it doesn't handle complex dynamic UI very well. It's got the AJAX support if you don't mind a trip back to the server for every state change, but when it goes wrong, the debugging gets really hairy.
React's component orientations look at little easier to pick up and get going with, and it'll be a lot more familiar feeling to our UI team who have been passing data down a tree of components for some time now.
However, I have yet to build anything substantial in it, but so far I'm hopeful (I shall disregard Flux for now, we may not require its complexity just yet). The data binding all looks to be one way, and each component looks testable in its own right.
So hopefully I'm not just jumping on yet another bandwagon.
- pbowyer 12y agoHave you considered EmberJS as an alternative? React may be the best thing since sliced bread, but as Rich Harris, author of Ractive, writes [1]: > Ractive uses similar techniques to Glimmer - it parses the template into a structure such that it's very easy to identify which DOM nodes need to be updated when data changes. This is different to how React (for example) handles DOM updates, which involves re-rendering everything and then running a diff. > The two approaches both have the same goal - minimising DOM updates - but go about it in very different ways. Each has advantages and disadvantages, and I believe we're going to develop a much clearer understanding of what they are in 2015. 1. https://github.com/rich-harris/ractive-dbmonster https://github.com/rich-harris/ractive-dbmonster
- EdwardDiego 12y ago> Have you considered EmberJS as an alternative? I haven't, but I'll have a look now. Cheers. :)