AngularJS
AngulaJS
is an open source JavaScript framework that is used to build a dynamic web
application. It is developed by Google. It is based on HTML and JavaScript and
mostly used for building a Single Page Application. It can be included to an
HTML page with a <script> tag. It extends HTML by adding built-in
attributes with the directive and binds data to HTML with Expressions.
ReactJS
ReactJS
is an open source JavaScript library that is used to build a user interface for
Single Page Application. It is responsible only for the view layer of the
application. It provides developers to compose complex UIs from a small and
isolated piece of code called "components." ReactJS made of two parts
first is components, that are the pieces that contain HTML code and what you
want to see in the user interface, and the second one is HTML document where
all your components will be rendered.
AngularJS Vs ReactJS
AngularJS
|
ReactJS
|
|
Author
|
Google
|
Facebook Community
|
Developer
|
Misko Hevery
|
Jordan Walke
|
Initial Release
|
October, 2010
|
March, 2013
|
Language
|
JavaScript, HTML
|
JSX
|
Type
|
Open Source MVC Framework
|
Open Source Js Framework
|
Rendering
|
Client-ide
|
Server-de
|
Packaging
|
Weak
|
Strong
|
Data-Binding
|
Bi-directional
|
Uni-directional
|
DOM
|
Regular DOM
|
Virtual DOM
|
Testing
|
MVC
|
Flux
|
App Architecture
|
MVC
|
Flux
|
Routing
|
It requires a template or
controller to its router configuration, which has to be managed manually.
|
It doesn't handle routing but
has a lot of modules for routing, eg reactrouter.
|
Performance
|
Slow
|
Fast, due to virtual DOM.
|
0 comments:
Post a Comment