<br />
<b>Warning</b>:  Undefined array key "global_protection_id" in <b>/home/wikitechy/public_html/interview-questions/wp-content/plugins/content-protector/inc/class-ps-rest-handler.php</b> on line <b>51</b><br />
{"id":3940,"date":"2022-03-19T12:50:40","date_gmt":"2022-03-19T12:50:40","guid":{"rendered":"https:\/\/www.wikitechy.com\/interview-questions\/?p=3940"},"modified":"2022-03-29T12:22:05","modified_gmt":"2022-03-29T12:22:05","slug":"what-is-react","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/interview-questions\/reactjs\/what-is-react\/","title":{"rendered":"What is React ?"},"content":{"rendered":"<p>\u2022 It is a <strong>front-end<\/strong> JS library developed by <strong>Facebook in 2011<\/strong>.<br \/>\n\u2022 It was created by <strong>Jordan Walke<\/strong>.<br \/>\n\u2022 It is quite the <strong>buzzword<\/strong> in the industry these days.<br \/>\n\u2022 It is useful for developing user interfaces specifically in applications with a single page.<br \/>\n\u2022 It is also for developing <strong>interactive view<\/strong> layer of web and mobile apps.<br \/>\n\u2022 It will make use of the virtual DOM rather than real DOM (<strong>Data Object Model<\/strong>) as RealDOM manipulations are expensive.<br \/>\n\u2022 It allows us to <strong>create reusable behavior<\/strong> across any of our components with React hooks.<br \/>\n\u2022 It is provided by the <strong>Redux<\/strong> or <strong>Flux<\/strong> in MVC architecture.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-4052\" src=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/03\/what-is-react-1.jpg\" alt=\"\" width=\"700\" height=\"368\" srcset=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/03\/what-is-react-1.jpg 700w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/03\/what-is-react-1-300x158.jpg 300w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/03\/what-is-react-1-390x205.jpg 390w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/p>\n<h4 id=\"advantages-of-react\"><strong>Advantages of React<\/strong><\/h4>\n<ul>\n<li>Makes JavaScript coding easier.<\/li>\n<li>Template designing made easy.<\/li>\n<li>Provides amazing developer tools.<\/li>\n<li>Reusable Components.<\/li>\n<li>SEO Friendly.<\/li>\n<\/ul>\n<h4 id=\"disadvantages-of-react\"><strong>Disadvantages of React<\/strong><\/h4>\n<ul>\n<li>JSX as a barrier.<\/li>\n<li>Lack of Documentation.<\/li>\n<li>Poor Documentation.<\/li>\n<li>It Covers only the UI Layers of the app and nothing else.<\/li>\n<\/ul>\n<h4 id=\"features-of-react\"><strong>Features of React<\/strong><\/h4>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-4053 aligncenter\" src=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/03\/features-of-react-1.jpg\" alt=\"\" width=\"507\" height=\"453\" srcset=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/03\/features-of-react-1.jpg 507w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/03\/features-of-react-1-300x268.jpg 300w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/03\/features-of-react-1-390x348.jpg 390w\" sizes=\"(max-width: 507px) 100vw, 507px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h4 id=\"jsx\"><strong>Jsx :<\/strong><\/h4>\n<ul>\n<li>JSX is a preferable choice for many web developers.<\/li>\n<li>It makes the syntax just like HTML and is used to create React components by developers.<\/li>\n<li>It is a syntax extension to JavaScript.<\/li>\n<li>It is super easy for developers to write the building blocks.<\/li>\n<\/ul>\n<h4 id=\"virtual-dom\">\u00a0 <strong>Virtual DOM :<\/strong><\/h4>\n<ul>\n<li>In this object is a perfect description of the original DOM object<\/li>\n<li>It will modify only that object in real DOM instead of updating whole objects.<\/li>\n<li>It compares the difference between the new DOM and previous DOM representation.<\/li>\n<li>It will reduces the time and cost taken for development.<\/li>\n<\/ul>\n<h4 id=\"performance\"><strong>Performance :<\/strong><\/h4>\n<ul>\n<li>React divides the complex user interface into unique elements.<\/li>\n<li>It increase the development time, multiple users can work on each element simultaneously.<\/li>\n<li>It will perform efficiently.<\/li>\n<\/ul>\n<h4 id=\"one-way-data-binding\"><strong>One-way Data binding :<\/strong><\/h4>\n<ul>\n<li>It provides good control throughout the application.<\/li>\n<li>This gives better control over it.<\/li>\n<li>It is designed to the extent that it can support One-way data binding or Unidirectional dataflow.<\/li>\n<\/ul>\n<h4 id=\"declarative-ui\"><strong>Declarative UI :<\/strong><\/h4>\n<ul>\n<li>It is the best for creating engaging and interactive user interfaces for mobile.<\/li>\n<li>It will generate a simple view for each state of the application<\/li>\n<li>In this feature makes React code more readable and easier to fix bugs.<\/li>\n<\/ul>\n<h4 id=\"components\"><strong>Components :<\/strong><\/h4>\n<ul>\n<li>Components are the heart and soul of React<\/li>\n<li>The applications of ReactsJS are created with multiple components.<\/li>\n<li>React JS components play a huge part in deciding the app visuals and interactions.<\/li>\n<li>It\u00a0is made up of several components.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u2022 It is a front-end JS library developed by Facebook in 2011. \u2022 It was created by Jordan Walke. \u2022 It is quite the buzzword in the industry these days. \u2022 It is useful for developing user interfaces specifically in applications with a single page. \u2022 It is also for developing interactive view layer of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"passster_activate_protection":false,"passster_protect_child_pages":"","passster_protection_type":"password","passster_password":"","passster_activate_overwrite_defaults":"","passster_headline":"","passster_instruction":"","passster_placeholder":"","passster_button":"","passster_id":"","passster_activate_misc_settings":"","passster_redirect_url":"","passster_hide":"no","passster_area_shortcode":"","gtb_hide_title":false,"gtb_wrap_title":false,"gtb_class_title":"","gtb_remove_headerfooter":false,"footnotes":""},"categories":[16542],"tags":[16547,16544,16550,16548,16545,16546,16551,16549,16543],"class_list":["post-3940","post","type-post","status-publish","format-standard","hentry","category-reactjs","tag-react-tutorial","tag-react-vs-angular","tag-what-is-react","tag-what-is-react-component","tag-what-is-react-developer","tag-what-is-react-hooks","tag-what-is-react-js","tag-what-is-react-js-and-node-js","tag-what-is-react-native"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What is React - ReactJs - React Interview Questions and Answers<\/title>\n<meta name=\"description\" content=\"What is React - It is a front-end JS library developed by Facebook in 2011.It was created by Jordan Walke. It is quite the buzzword in the industry these days.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wikitechy.com\/interview-questions\/reactjs\/what-is-react\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is React - ReactJs - React Interview Questions and Answers\" \/>\n<meta property=\"og:description\" content=\"What is React - It is a front-end JS library developed by Facebook in 2011.It was created by Jordan Walke. It is quite the buzzword in the industry these days.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wikitechy.com\/interview-questions\/reactjs\/what-is-react\/\" \/>\n<meta property=\"og:site_name\" content=\"Wikitechy\" \/>\n<meta property=\"article:published_time\" content=\"2022-03-19T12:50:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-29T12:22:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/03\/what-is-react-1.jpg\" \/>\n<meta name=\"author\" content=\"webmaster\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"webmaster\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/reactjs\/what-is-react\/\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/reactjs\/what-is-react\/\",\"name\":\"What is React - ReactJs - React Interview Questions and Answers\",\"isPartOf\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/reactjs\/what-is-react\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/reactjs\/what-is-react\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/03\/what-is-react-1.jpg\",\"datePublished\":\"2022-03-19T12:50:40+00:00\",\"dateModified\":\"2022-03-29T12:22:05+00:00\",\"author\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/f785ba3ecc599133e65ab6138042a3e4\"},\"description\":\"What is React - It is a front-end JS library developed by Facebook in 2011.It was created by Jordan Walke. It is quite the buzzword in the industry these days.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wikitechy.com\/interview-questions\/reactjs\/what-is-react\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/reactjs\/what-is-react\/#primaryimage\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/03\/what-is-react-1.jpg\",\"contentUrl\":\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/03\/what-is-react-1.jpg\",\"width\":700,\"height\":368},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/\",\"name\":\"Wikitechy\",\"description\":\"Interview Questions\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/f785ba3ecc599133e65ab6138042a3e4\",\"name\":\"webmaster\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g\",\"caption\":\"webmaster\"},\"sameAs\":[\"https:\/\/www.wikitechy.com\/interview-questions\"],\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/author\/webmaster\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is React - ReactJs - React Interview Questions and Answers","description":"What is React - It is a front-end JS library developed by Facebook in 2011.It was created by Jordan Walke. It is quite the buzzword in the industry these days.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wikitechy.com\/interview-questions\/reactjs\/what-is-react\/","og_locale":"en_US","og_type":"article","og_title":"What is React - ReactJs - React Interview Questions and Answers","og_description":"What is React - It is a front-end JS library developed by Facebook in 2011.It was created by Jordan Walke. It is quite the buzzword in the industry these days.","og_url":"https:\/\/www.wikitechy.com\/interview-questions\/reactjs\/what-is-react\/","og_site_name":"Wikitechy","article_published_time":"2022-03-19T12:50:40+00:00","article_modified_time":"2022-03-29T12:22:05+00:00","og_image":[{"url":"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/03\/what-is-react-1.jpg"}],"author":"webmaster","twitter_card":"summary_large_image","twitter_misc":{"Written by":"webmaster","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wikitechy.com\/interview-questions\/reactjs\/what-is-react\/","url":"https:\/\/www.wikitechy.com\/interview-questions\/reactjs\/what-is-react\/","name":"What is React - ReactJs - React Interview Questions and Answers","isPartOf":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/reactjs\/what-is-react\/#primaryimage"},"image":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/reactjs\/what-is-react\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/03\/what-is-react-1.jpg","datePublished":"2022-03-19T12:50:40+00:00","dateModified":"2022-03-29T12:22:05+00:00","author":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/f785ba3ecc599133e65ab6138042a3e4"},"description":"What is React - It is a front-end JS library developed by Facebook in 2011.It was created by Jordan Walke. It is quite the buzzword in the industry these days.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wikitechy.com\/interview-questions\/reactjs\/what-is-react\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/reactjs\/what-is-react\/#primaryimage","url":"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/03\/what-is-react-1.jpg","contentUrl":"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/03\/what-is-react-1.jpg","width":700,"height":368},{"@type":"WebSite","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website","url":"https:\/\/www.wikitechy.com\/interview-questions\/","name":"Wikitechy","description":"Interview Questions","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/f785ba3ecc599133e65ab6138042a3e4","name":"webmaster","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g","caption":"webmaster"},"sameAs":["https:\/\/www.wikitechy.com\/interview-questions"],"url":"https:\/\/www.wikitechy.com\/interview-questions\/author\/webmaster\/"}]}},"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/3940","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/comments?post=3940"}],"version-history":[{"count":4,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/3940\/revisions"}],"predecessor-version":[{"id":4054,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/3940\/revisions\/4054"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/media?parent=3940"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/categories?post=3940"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/tags?post=3940"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}