{"id":9060,"date":"2023-12-04T11:16:15","date_gmt":"2023-12-04T11:16:15","guid":{"rendered":"https:\/\/www.bacancytechnology.com\/qanda\/?p=9060"},"modified":"2023-12-04T11:16:15","modified_gmt":"2023-12-04T11:16:15","slug":"check-the-installed-version-of-react-native","status":"publish","type":"post","link":"https:\/\/www.bacancytechnology.com\/qanda\/react-native\/check-the-installed-version-of-react-native","title":{"rendered":"How to Check the Installed Version of React Native"},"content":{"rendered":"<p>To find out the ve\u00adrsion of the react-native package\u00ad in your project, go to the root directory of your proje\u00adct and open the package.json file\u00ad. Look for the react-native ve\u00adrsion mentioned under the\u00ad dependencie\u00ads section. For example,<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">\"dependencies\": {\r\n    ...\r\n    \"react\": \"18.2.0\",\r\n    \"react-dom\": \"18.2.0\",\r\n    \"react-native\": \"0.72.4\",\r\n    ...\r\n}<\/pre>\n<p>Alternatively, you can check by running the below command using terminal on your mac:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">react-native version\r\n\r\n<\/pre>\n<p>While upgrading your project from 0.X.XX to 0.Y.YY, you can use the community upgrade helper link which helps you to migrate the project with ease. It uses <a href=\"https:\/\/github.com\/react-native-community\/rn-diff-purge\" target=\"_blank\" rel=\"noopener\">rn-diff-purge<\/a>, <a href=\"https:\/\/github.com\/otakustay\/react-diff-view\" target=\"_blank\" rel=\"noopener\">react-diff-view<\/a> and <a href=\"https:\/\/github.com\/facebook\/create-react-app\" target=\"_blank\" rel=\"noopener\">create-react-app<\/a>.<img decoding=\"async\" src=\"https:\/\/www.bacancytechnology.com\/qanda\/wp-content\/uploads\/2023\/12\/React-Native-Upgrade-Helper-1024x565.png\" alt=\"React Native Upgrade Helper\" width=\"1024\" height=\"565\" class=\"alignnone size-large wp-image-9061\" srcset=\"https:\/\/www.bacancytechnology.com\/qanda\/wp-content\/uploads\/2023\/12\/React-Native-Upgrade-Helper-1024x565.png 1024w, https:\/\/www.bacancytechnology.com\/qanda\/wp-content\/uploads\/2023\/12\/React-Native-Upgrade-Helper-300x166.png 300w, https:\/\/www.bacancytechnology.com\/qanda\/wp-content\/uploads\/2023\/12\/React-Native-Upgrade-Helper-768x424.png 768w, https:\/\/www.bacancytechnology.com\/qanda\/wp-content\/uploads\/2023\/12\/React-Native-Upgrade-Helper-1536x848.png 1536w, https:\/\/www.bacancytechnology.com\/qanda\/wp-content\/uploads\/2023\/12\/React-Native-Upgrade-Helper.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To find out the ve\u00adrsion of the react-native package\u00ad in your project, go to the root directory of your proje\u00adct and open the package.json file\u00ad. Look for the react-native ve\u00adrsion mentioned under the\u00ad dependencie\u00ads section. For example, &#8220;dependencies&#8221;: { &#8230; &#8220;react&#8221;: &#8220;18.2.0&#8221;, &#8220;react-dom&#8221;: &#8220;18.2.0&#8221;, &#8220;react-native&#8221;: &#8220;0.72.4&#8221;, &#8230; } Alternatively, you can check by running the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":9062,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[14],"tags":[],"class_list":["post-9060","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-react-native"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.bacancytechnology.com\/qanda\/wp-json\/wp\/v2\/posts\/9060"}],"collection":[{"href":"https:\/\/www.bacancytechnology.com\/qanda\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bacancytechnology.com\/qanda\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bacancytechnology.com\/qanda\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bacancytechnology.com\/qanda\/wp-json\/wp\/v2\/comments?post=9060"}],"version-history":[{"count":1,"href":"https:\/\/www.bacancytechnology.com\/qanda\/wp-json\/wp\/v2\/posts\/9060\/revisions"}],"predecessor-version":[{"id":9063,"href":"https:\/\/www.bacancytechnology.com\/qanda\/wp-json\/wp\/v2\/posts\/9060\/revisions\/9063"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bacancytechnology.com\/qanda\/wp-json\/wp\/v2\/media\/9062"}],"wp:attachment":[{"href":"https:\/\/www.bacancytechnology.com\/qanda\/wp-json\/wp\/v2\/media?parent=9060"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bacancytechnology.com\/qanda\/wp-json\/wp\/v2\/categories?post=9060"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bacancytechnology.com\/qanda\/wp-json\/wp\/v2\/tags?post=9060"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}