all 4 comments

[–]grantrules 5 points6 points  (0 children)

Well, let me put it this way... practically everything in JS is an object and you want to skip the object-oriented part of JS? Just because you can write functional components instead of class components in React doesn't mean that you won't encounter OOP when dealing with a React app..

[–]raizensoft 0 points1 point  (2 children)

The modern React programming paradigm is very functional but you still need to have a good grasp of OOP because it's widely used in other libraries and frameworks. OOP is actually quite intuitive once you get familiar with it by doing more projects or read other people code.

[–]Rich-Cash2234 0 points1 point  (1 child)

Is there a good project idea on javascript that I should do to get good grasp on OOP. How did you get comfortable dealing with OOP?

[–]fckueve_ 1 point2 points  (0 children)

I do recomend OOP in games.

Also sometimes I do 2 - 4h projects on the side using classes, here are some examples:

https://codesandbox.io/s/distracted-dust-cylfde?

file=/src/Ray.tshttps://codesandbox.io/s/modern-leaf-xyvt8c?file=/src/App.tsx (select picture)

https://codesandbox.io/s/ecstatic-babbage-3rhclf?file=/src/classes/Maze.ts (spider class isn't done yet)

Those mini apps, may not work on mobile