Live data from Hacker News

How React, Vue, and Angular Work – Core Principles in One File

gist.github.com

21–23 of 23 posts

Re: How React, Vue, and Angular Work – Core Principles in One File

#21
I've seen several of these over the years and find it interesting that the only part people usually care to implement is binding some events. If all one needs to do is update some local data and re-render HTML accordingly I question the usage of these frameworks on most projects that do.

Anyway this is pretty far away from how these frameworks actually work. In my opinion "the core" is the lifecycle hooks, not what's being shown here.

Re: How React, Vue, and Angular Work – Core Principles in One File

#22
post #16

Thanks for this, but as a complete beginner I didn't really get the point of the raw code with no comments explaining it. I was left asking myself what am I missing because the title seemed beginner friendly. Maybe if someone is really experienced they can figure out what all the "core principles" are in the "one file" but I didn't. So if a complete beginner is reading this, I suggest copying and pasting the code int…

You should create your own gist and add the explanations and then post that gist here. I'm sure it'll be very useful to lots of people.

Thanks for the idea. I've had to stop focusing on learning React because I found I didn't know enough JavaScript so I'm not confident enough to post any gist about anything presently. I did a JavaScript course 10 years ago after finishing CS50 online but due to a sudden change in family circumstances I had to take a long break from learning programming.

However, thanks to cline, aider, supermaven and v0, I decided that I could now learn enough JavaScript/React/React Native to pair program with AI code generation tools and replace the need for a technical co-founder going forwards.

I'm about halfway through the freecodecamp JavaScript Course and so far so good. The AI code generation tools for VS Codium are insane and I'm certain I'll be launching webapps and mobile apps in no time.

Re: How React, Vue, and Angular Work – Core Principles in One File

#23
What a horrendously complicated mess. No wonder modern websites are so bloated with a fraction of the functionality and information density from before the 'let's design everything for mobile users only, fuck the desktop' era. And this is supposed to be 'simple' and 'minimalistic'.
Post reply on HN