React Native MasteryThe Ultimate React Native and Expo Course 🚀

React Native IDE

Anisur Rahman profile picture
Anisur RahmanJun 17, 2024
post image

Exciting news from Krzysztof Magiera, co-founder of Software Mansion, that has announced the open beta program for React Native IDE. It has been 9 months since they began working on it, and they have made significant progress.

Too much stuff for setting up environment 🤦

When someone starts to build a React Native app using the React Native CLI, they need to perform lots of tasks according to the React Native website to set up the development environment. For example, tons of commands must be installed, CocoaPods must be set up, and Ruby must be set up with correct versions, among other complex tasks, are involved.

react-native-env.png

React Native IDE in action 🚀

React Native IDE made it easy for react native developers to set up the environment. The IDE is a Visual Studio Code extension that only runs on macOS now. Below is a screenshot from Visual Studio Code.

react-native-ide-vsc.png

Let’s explore the most exciting features of the React Native IDE.

  1. Snap Recording
  2. Component Inspector
  3. Access logs easily
  4. Navigation made easier
  5. Better Components preview
  6. Break Points without any other application 🚀

Snap Recording

With the React Native IDE, you can record a video capturing 5-7 seconds of the history of your previous interactions within the app, as shown below.

react-native-ide-snap-recording.gif

Component Inspector

You can left-click on any JSX component displayed on the device, as shown below, to inspect the component’s <View/> hierarchy. Clicking on the component will open the corresponding code in VSCode.

react-native-ide-inspect.gif

Access logs easily

React Native IDE truly enables you to open all your logs in VSCode, as illustrated below.

react-native-ide-logs.png

When you click on the "Logs" button at the top right, it will open the log menu at the bottom. Additionally, you can navigate to the corresponding code from each log by clicking on the box indicated in green.

React Native IDE has greatly simplified navigation, as shown below. You can view all your previous navigation history directly from the IDE. The example below uses the Expo router, which is a file-based routing system.

react-native-ide-navigation.gif

Components preview

React Native IDE offers a preview() method that allows you to get a preview of the component you are developing, as shown below 🚀.

react-native-ide-preview.gif

Break Points🚀

Another exciting feature is that React Native IDE supports breakpoints. You can even add breakpoints inside native code 🔥.

react-native-ide-breakpoints.gif

Give it a try

Join the beta and try the React Native IDE yourself.

Did you learn something new today?

If you found this post valuable, share it with one friend or coworker that can benefit from it as well. That would be much appreciated 🙏

The post was written by Anis and edited by Vadim Savin.


Anisur Rahman profile picture

Anisur Rahman

Sr. React Native Engineer at BasementSports.

Author of "RN Advanced Book" (1.3K+)


Read next