title: MainApplication.java in React Native 0.61.0
body: <p>I'm migrating my project from React Native 0.59.9 to 0.61.0 (not advisable, but I have my own reasons). In my existing project I have the following code in <code>MainApplication.java</code>:</p>
  
  <pre><code>@Override
  protected List&lt;ReactPackage&gt; getPackages() {
    return Arrays.&lt;ReactPackage&gt;asList(
        new MainReactPackage(),
        RollbarReactNative.getPackage(),
        new VectorIconsPackage(),
        new RNTextInputMaskPackage(),
        new SplashScreenReactPackage(),
        new RNSensitiveInfoPackage(),
        new ReactNativeRestartPackage(),
        new PickerViewPackage(),
        new LinearGradientPackage(),
        new ImagePickerPackage(),
        new RNGestureHandlerPackage(),
        new RNDeviceInfo(),
        new A0Auth0Package(),
        new AsyncStoragePackage()
    );
  }
  </code></pre>
  
  <p>In <code>MainApplication.java</code> in v0.61.0 the following code is auto-generated (corresponds to the code above):</p>
  
  <pre><code>@Override
  protected List&lt;ReactPackage&gt; getPackages() {
    @SuppressWarnings("UnnecessaryLocalVariable")
    List&lt;ReactPackage&gt; packages = new PackageList(this).getPackages();
    // Packages that cannot be autolinked yet can be added manually here, for example:
    // packages.add(new MyReactNativePackage());
    return packages;
  }
  </code></pre>
  
  <p>Does it make sense that I would add the packages from the first part of the code to the second like:</p>
  
  <pre><code>@Override
  protected List&lt;ReactPackage&gt; getPackages() {
    @SuppressWarnings("UnnecessaryLocalVariable")
    List&lt;ReactPackage&gt; packages = new PackageList(this).getPackages();
    // Packages that cannot be autolinked yet can be added manually here, for example:
    // packages.add(new MyReactNativePackage());
    packages.add(new MainReactPackage())
    packages.add(RollbarReactNative.getPackage())
    packages.add(new VectorIconsPackage())
    packages.add(new RNTextInputMaskPackage())
    packages.add(new SplashScreenReactPackage())
    packages.add(new RNSensitiveInfoPackage())
    packages.add(new ReactNativeRestartPackage())
    packages.add(new PickerViewPackage())
    packages.add(new LinearGradientPackage())
    packages.add(new ImagePickerPackage())
    packages.add(new RNGestureHandlerPackage())
    packages.add(new RNDeviceInfo())
    packages.add(new A0Auth0Package())
    packages.add(new AsyncStoragePackage())
    return packages;
  }
  </code></pre>
  
  <p>Does this make sense?</p>