React JS Day 2

What are the issues with jQuery?

  • It requires lot of DOM manipulation.
  • It is slow in rendering UI.
  • It requires lot of explicit AJAX.
  • It is legacy type.
  • It uses more memory.

Features of React :

  1. It is component based. **
  2. It is light weight.
  3. It is faster in rendering.
  4. It is easy to extend, maintain and test.
    a) Reusability
    b) Extensibility
    c) Mantainability
    d) Testability
  5. It is modular.
  6. Application specific framework.
  7. It uses “Virtual DOM”. **

FAQ: What is DOM, Shadow DOM & Virtual DOM?
Ans:

DOM

  • It is a hierarchy of elements in browser.
  • HTML parsing comprises of following phases Markup=> Bytes => Chars => Tokens => DOM => Render => Layout => Paint
  • HTML page comprises of elements arranged in a hierarchical order called DOM.
    [Document Object Model]

Shadow-DOM

  • It is a hierarchy of elements in a component.
  • Component is built with shadow DOM.
  • Component comprises of a Shadow Root.

Virtual DOM

  • It is a copy of actual DOM in memory.
  • React application updates into virtual DOM, which is later reflected into actual DOM.
  • It makes rendering faster virtually.

Browser Architecture

  • UI
  • UI Backend
  • Browser Engine
  • Rendering Engine
  • JavaScript Interpreter
  • Network
  • Data Persistance

Issues with React:

  • It is not designed for what you are using.
  • Hence lot of GAP’s.
  • Lot of 3rd Party integrations.

Share Article:

Considered an invitation do introduced sufficient understood instrument it. Of decisively friendship in as collecting at. No affixed be husband ye females brother garrets proceed. Least child who seven happy yet balls young. Discovery sweetness principle discourse shameless bed one excellent. Sentiments of surrounded friendship dispatched connection is he. Me or produce besides hastily up as pleased. 

Leave a Reply

Your email address will not be published. Required fields are marked *

You May Also Like:

Trust On Your Soul

we are on a mission to touch lives and ignite the flame of self-belief within each individual. Our dedication lies in creating a space where positivity thrives, and personal growth becomes a daily pursuit.

Follow On Instagram

Recent Posts

  • All Post
  • Beauty
  • Islamic
  • Lifestyle
  • Motivation
  • Photography
  • Technology
  • Travel
    •   Back
    • Ramadan

Transform Your Life

Trust on Your Soul's Inspirational Odyssey

Stay Inspired, Stay Connected!

Subscribe to Our Newsletter & Join Our Community

You have been successfully Subscribed! Ops! Something went wrong, please try again.
Edit Template

What are the issues with jQuery?

  • It requires lot of DOM manipulation.
  • It is slow in rendering UI.
  • It requires lot of explicit AJAX.
  • It is legacy type.
  • It uses more memory.

Features of React :

  1. It is component based. **
  2. It is light weight.
  3. It is faster in rendering.
  4. It is easy to extend, maintain and test.
    a) Reusability
    b) Extensibility
    c) Mantainability
    d) Testability
  5. It is modular.
  6. Application specific framework.
  7. It uses “Virtual DOM”. **

FAQ: What is DOM, Shadow DOM & Virtual DOM?
Ans:

DOM

  • It is a hierarchy of elements in browser.
  • HTML parsing comprises of following phases Markup=> Bytes => Chars => Tokens => DOM => Render => Layout => Paint
  • HTML page comprises of elements arranged in a hierarchical order called DOM.
    [Document Object Model]

Shadow-DOM

  • It is a hierarchy of elements in a component.
  • Component is built with shadow DOM.
  • Component comprises of a Shadow Root.

Virtual DOM

  • It is a copy of actual DOM in memory.
  • React application updates into virtual DOM, which is later reflected into actual DOM.
  • It makes rendering faster virtually.

Browser Architecture

  • UI
  • UI Backend
  • Browser Engine
  • Rendering Engine
  • JavaScript Interpreter
  • Network
  • Data Persistance

Issues with React:

  • It is not designed for what you are using.
  • Hence lot of GAP’s.
  • Lot of 3rd Party integrations.

Trending Posts

Hot News

About

we believe in the transformative power of words. Our mission is to inspire and empower individuals to reach new heights in their personal and professional lives. Through our YouTube channel and website.

Recent Post

  • All Post
  • Beauty
  • Islamic
  • Lifestyle
  • Motivation
  • Photography
  • Technology
  • Travel
    •   Back
    • Ramadan

© 2024 Created with Trust On Your Soul