Hacker News new | ask | show | jobs
by mavdi 4055 days ago
I finally got into React after being told by a friend for months that I need to. I'll be honest the whole thing just looks like premature optimisation to me.

I still find the structure of an angular app a lot easier to grasp, it might be that I'm used to it but I remember the first time using Angular that it all made sense to me. I liked it instantly. Coming from Backbone, it certainly was a breath of fresh air. I can't say the same thing about React. Sure it's faster, and if you think your app is going to mutate into something big, consider using it. But I personally wouldn't make it my default choice.

1 comments

For me, it isn't about the optimization, it is about the way it lets you break your app into simple reliable components. There was a moment when building my first React application where it just clicked and I realized how much I was enjoying the reusability and ease of testing all of my components. I have never been able to write such well tested front end code. Also, the reusability of my code has skyrocketed.
Fair enough, I might need to spend more time with it. I certainly like the idea of testing components individually.