Skip to content

Instantly share code, notes, and snippets.

@knowbody
Last active January 14, 2017 18:12
Show Gist options
  • Save knowbody/149c9fee2d23e61e300add218ad5dfb7 to your computer and use it in GitHub Desktop.
Save knowbody/149c9fee2d23e61e300add218ad5dfb7 to your computer and use it in GitHub Desktop.
React Native 2017 roadmap

React Native 2017 roadmap

Don't get confused by the name this is not by any mean a roadmap for React Native. Just something what I would like to see happen.

I started working with React Native soon after it was open-sourced by Facebook. Since then the small experimental project grew a lot. Thanks to 1140 contributors, many of us can build cross platform native apps for iOS and Android with zero or a little knowledge of Objective C and/or Java. A few years ago I didn’t even think that with just web dev experience I could jump and make an app which will be working on iPhone and Android devices.

In this post, I’d like to focus on the things that we can do to make React Native even better.

Please don’t treat this as a rant, these are the things which I find that could be improved.

  1. Better error handling (there are a lot of generic errors which can mean multiple things). Usually to solve some issues is just a matter of searching issue tracker on Github or searching through SO, but this certainly discourages new comers and sometimes can be frustrating.
  2. Upgrades - there is already work being done on the releases side to stabilise them (see: http://facebook.github.io/react-native/blog/2017/01/07/monthly-release-cadence.html). I’m sure that now that we have more time to test RCs the upgrades will be less painful. But we still can do better here - maybe codemods?
  3. Debugging - at the moment debugging slows down the whole app a lot. The application is usually hardly usable.
  4. Create React Native App - I think CRA had a big success of breaking the ice between setting up the whole environment and the actual app development. Even if that’s a separate project (not a command in react-native-cli) it would be great to have it. At the moment a great solution to this is Exponent.
  5. Android performance/development. I think the Android development is not great, and this is not because React Native, the development tooling (i.e. emulators) is far from great. This area could be improved massively.

I’d like to know what you think and maybe say what are the things that you find that could be improved to make mobile development easier.

@ericvicenti
Copy link

Create React Native App

We have actually started this project, in collaboration with exponent! It should also alleviate upgrading pains for some users because there will be no need (or ability) to maintain native files.

Totally agree on many of the other points, especially improved error handling. Here's a good example of something that should be pushed through: facebook/react-native#8188 (Errors in promises should be redboxes. The louder the error is shown, the better chance there is of it getting fixed.)

I also like the idea of codemods to help with the upgrade path, but we really need to nail the experience if we're going to get much adoption.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment