React Native is the current trend for cross platform mobile development enabling us to make high quality, native and powerful mobile applications using JavaScript. It's hardly been a year since Facebook Inc. released the React Native open source project, and it is amazing to see so much movement in terms of development, support, plugins, tools, integrations etc.

There are so many code editors out there for development and it at times becomes difficult for me to choose the right editor for a particular programming language. While working with React Native, I did some digging and found useful IDE/editors perfect for mobile app development. I have listed the editors, its plugins and packages with details specifically for React Native.

Building a React Native App from scratch?

We have reviewed 8 awesome React Native starter kits that will help you to develop faster.

I currently use Sublime Text and Atom mainly because I am working on different languages and these editors provide support for a lot of programming languages. However, other editors are also worth looking at. iOS App developer, as well as an Android developer, can select the best editor as per their convenience and choice.

Nuclide is built as a single package on top of Atom to provide hackability and the support of an active community. It provides a first-class development environment for React Native, Hack and Flow projects.

URL: atom.io

Github: atom

Documentation: Setup Atom with React Native

Platform: Windows, Mac, Linux

Licence: Open-source

Features: Cross-platform editing Built-in package manager Smart auto-completion File system browser Multiple panes Find and replace



Atom is a text editor that's modern, approachable, yet hackable editor made for the 21st century. Atom is widely used by developers for all major technologies. It has a huge active community hence there are always enhancements/plugins available for everything.

Packages

atom-react-native-autocomplete package - It is a package for React-Native auto-completion for Atom text editor.

atom-react-native-css - It is a package to style React-Native components with built in support for SASS/SCSS. React-native-css turns valid CSS/SASS into the Facebook subset of CSS.

react-native-snippets - It is a package for React Native snippets for Atom and Nuclide.

zenchat-snippets - It is a collection of snippets for react-native, redux and ES6.

atom-xcode - This package bridges the gap between Mac Xcode and atom. Once installed, the iOS simulator can be controlled from within the atom itself.

language-babel - This package includes Language grammar for all versions of JavaScript including ES2016 and ESNext, JSX syntax as used by Facebook React, Atom's etch and others.

Learning React Native is easy.

Here are 11 React Native Tutorials which help you get started.

Sublime Text is a sophisticated text editor for code, markup and prose. It offers a lot of community developed plugins for extending its functionality. Sublime Text has been all time favourite editor for developers.

Packages

react-native-snippets - It is a collection of Sublime Text Snippets for react-native

babel-sublime - Syntax definitions for ES6 JavaScript with React JSX extensions.

Visual Studio Code is a source code editor developed by Microsoft for Windows, Linux and OS X. It is free and open-source and includes support for debugging, embedded Git control, syntax highlighting, intelligent code completion, snippets, and code refactoring.

Extensions

ReactNative Tools - This extension provides a development environment for React Native projects. You can debug your code, quickly run react-native commands from the command palette and use IntelliSense to browse objects, functions and parameters for React Native APIs.

URL: vim.org

Github: vim/vim

Documentation: Vim Docs Setup Vim for React-JSX

License: Open Source

Platform: Mac, Linux

Features: Persistent, multi-level undo tree Extensive plugin system Support for hundreds of programming languages and file formats Powerful search and replace Integrates with many tools



Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient. It is included as "vi" with most UNIX systems. Vim is loved by many developers for kinds of editing. Vim is rock stable and is continuously being developed to become even better.

Plugins

vim-jsx - Syntax highlighting and indenting for JSX.

vim-react-snippets - A set of snippets for Vim to work with Facebook's React library.

vim-babel - A set of snippets for Vim to work with Facebook's React library.

Brilliant UX, Cross Platform App, Quick Delivery

A top React Native App Development Company can do wonders for your App Development. Get in touch today.

URL: gnu.org/software/emacs/

Documentation: Official documentation Initial setup for React Native

License: Free under GPL License

Platform: Windows, Mac, Linux

Features: Content-aware editing modes, including syntax coloring, for many file types. Complete built-in documentation, including a tutorial for new users. Full Unicode support for nearly all human scripts. Highly customizable, using Emacs Lisp code or a graphical interface. A packaging system for downloading and installing extensions.



An extensible, customizable and free/libre text editor.

Extensions

web-mode.el - It is an autonomous emacs major-mode for editing web templates. It is compatible with many languages including JSX (React).

URL: spacemacs.org

Github: syl20bnr/spacemacs

Documentation: Official documentation

License: Open Source

Platform: Windows, Mac, Linux

Features: Key bindings are organized using mnemonic prefixes Discoverable - Innovative real-time display of available key bindings. Similar functionalities have the same key binding everywhere Simple query system to quickly find available layers, packages and more. Community-driven configuration provides curated packages tuned by power users and bugs are fixed quickly.



Spacemacs is a community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs and Vim!

Extensions

React layer - ES6 and JSX ready configuration layer for React. It will automatically recognize .jsx and .react.js files. One package layer for React integration.

URL: decosoftware.com

Github: decosoftware/deco-ide

Documentation: Official docs

Platform: Mac (only for iOS)

Licence: Open-source

Features: Component Search & Insert Real-Time Tweaking New File Scaffolds



Deco is an IDE for React Native. It's an all-in-one solution for writing React Native apps that you can download and use without any environment setup. Deco improves the React Native development workflow by focusing on component reuse and enabling you to edit your UI in real time.

URL: jetbrains.com/webstorm/

Documentation: Official documentation Using external tools

License: Paid (US $129.00 for single user/first year)

Platform: Windows, Mac, Linux

Features: Intelligent Coding Assistance Support for Latest Technologies Version Control System Seamless Tool Integration Debugging, Tracing and Testing Built in Terminal



WebStorm is built on top of the open-source IntelliJ Platform, which JetBrains have been developing and perfecting for over 15 years. It offers the tight integration with VSC, Local History feature, has a vibrant plugin ecosystem, is completely configurable, and has much, much more to offer. WebStorm offers advanced support for React and JSX, and can provide you with core coding assistance for React Native apps.

URL: macromates.com

Documentation: Official documentation

License: Paid (48.75 EUR for single user licence)

Platform: Mac

Features CSS-like Selectors to Pinpoint the Scope of Actions and Settings Function Pop-up for Quick Overview and Navigation Plug-able Through Your Favourite Scripting Language Run Shell Commands from Within a Document Themable Syntax Highlight Colors Works Together With Xcode and Can Build Xcode Projects



TextMate is not an IDE but by using its powerful snippets, macros, and unique scoping system, it can often provide features that even a language specific IDE lacks. React is not directly supported but with the plugin listed below, one can easily get support for JSX on which most of the React code is based.

Plugins

javascript-jsx.tmbundle - Textmate Bundle for JSX (React). Currently supports syntax highlighting.



All the code editors are rich with powerful features. They are ready to adapt the React Native environment with the plugins and extensions mentioned with each editor.

Most of the editors covered in the article are already very popular, hence while migrating to React-Native, we don't have to migrate to a different code editor. That such a big relief, isn't it?

React and React Native have seen an overwhelming response from the developers. Many tools are community developed and hoping to see much more support for these technologies.

Spread the word - Feel free to re-tweet and share the article. If you think there is any other editor out there that we have missed here, please tweet at @icicletech and let us know. Happy Developing!

Top 10 Editors For React Native Mobile App Development https://t.co/UBQZQtjssR via @icicletech — Icicle (@icicletech) 9 September 2016

Published in javascript, react-native, products, mobile | Tagged with android, products, mobile, reactjs, ios

You maybe interested in