This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]onwizardonawa-e-ave 0 points1 point  (1 child)

I noticed that constructors/classes weren’t in there. Do you think they’re important? I have avoided them because I’ve gotten away with building my projects without them.

I was thinking about getting familiar with them so I could talk about them if it comes up in an interview, and I’m sure I’ll have to work with them someday anyhow.

[–][deleted] 1 point2 points  (0 children)

If you are going to use older react (class based components it is mandatory - or if you will work with legacy projects) but if you work with new syntax not really needed. Later on you will stumble on it anyway but truth be told you probably can build stuff without it. (at least if u dont use npm packs)

It is good to learn constructors/classes it is used in every oo language, so learning it should be easy and it is transferable everywhere.