There was a previous discussion on how do you know when someone is addicted to over-engineering, and looking at this giant UML diagram, I think this might be the case. The amount of complexity I'm willing to accept is proportional to the the difficulty of the problem. In this case it's manipulating web pages, which shouldn't be too hard. This isn't a knock on React in particular, but it seems all the major vendors ar…
Show HN: Under the hood ReactJS
121–124 of 124 posts
Re: Show HN: Under the hood ReactJS
#122Earlier quoted context omitted.
This has been revised. There is now a separate entry point for helpers, to make it obvious to people who don't read docs, that it is separate functionality: var helpers = require('simulacra/helpers') var bindEvents = helpers.bindEvents var animate = helpers.animate There is no practical difference. It is just for those who read code but lack reading comprehension skills.
I'm not sure what that accomplishes. The "entire API surface area," as you put it, surely includes more functions than the only one you need for a landing page's hello-world. I don't evaluate something like Simulacra with a hello-world in mind, else I wouldn't need Simulacra. My advice is to just change "one function" to "tiny API". Or maybe "just three functions in the public API". That's just as respectable and spa…
Re: Show HN: Under the hood ReactJS
#123Earlier quoted context omitted.
Perhaps you're right, but it would be useful if you mentioned those other choices here.
Sorry I actually purposefully didn't mention them because I didn't want it to seem like I was just trying to push my own favorite choice. Here are some options: Component libraries ------------------- 1) KnockoutJS (just data-binding, quite possibly the simplest I've seen) 2) Vue.JS (More complex, but one of the best sets of docs I've seen, fits in with the DOM model extremely well, few hacks, though I would have lov…
Re: Show HN: Under the hood ReactJS
#124Earlier quoted context omitted.
Sorry I actually purposefully didn't mention them because I didn't want it to seem like I was just trying to push my own favorite choice. Here are some options: Component libraries ------------------- 1) KnockoutJS (just data-binding, quite possibly the simplest I've seen) 2) Vue.JS (More complex, but one of the best sets of docs I've seen, fits in with the DOM model extremely well, few hacks, though I would have lov…
Thanks for coming back some days later to answer my question!