Is React as Object Oriented as Angular?

curiouswebster
curiouswebster used Ask the Experts™
on
Is React as Object Oriented as Angular?

I've worked with Angular enough to fall in love with its modular design and how a new control that works on one web page and easily be dropped onto any web page in the project.

The way it limits the scope of the CSS, HTML and Javascript to the specific problem at hand, in my eyes, if what makes it so fast.

How about React?

I have no experience with React, but hope to see some coded snippets to explain how you'd connect logic, page placement and styling. (and anything else that should be considered when choosing React over Angular)

Also, any predictions on adoption rates? If a technology is flagging, I may not be as interested...

Any new technologies which may rival Angular and React?


Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Hi,

I do like REACT JS because it is fast and easy to learn.
Check the offcial doc: https://reactjs.org/

One of the main difference is REACT uses a virtual DOM and Angular uses a real DOM

A good comparison article
https://www.freecodecamp.org/news/angular-vs-react-what-to-choose-for-your-app-2/

A good place to start is using their documentation and examples:
https://reactjs.org/docs/components-and-props.html
https://reactjs.org/docs/thinking-in-react.html

A good book https://www.fullstackreact.com/

To my opinion this is all depending of the projects, skills and preferences, but at the end it's always a good idea to learn new things ...

I know that REACT Native for mobile apps is very in demand at the moment, I don't know about REACT JS .
I guess looking for jobs in your area can tell you if this is demand or not.
curiouswebsterSoftware Engineer

Author

Commented:
I am trying to choose which platform is best for automated source creation. so, the idea of a virtual DOM is interesting to me.

please explain that a little.
Hi,

Virtual DOM is a virtual representation of the "real DOM".
When state changes, the virtual DOM is updated and the previous and current virtual DOM are compared,
updates are sent to the real DOM for re-rendering.
It detect state and prop changes.
curiouswebsterSoftware Engineer

Author

Commented:
What kind of real world implications are there of a Virtual DOM? Why is it good? Are there any drawbacks? Like more memory required?
curiouswebsterSoftware Engineer

Author

Commented:
thanks

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial