react-native-macos/template
somena1 fc962c9b6c Don't reconstruct app component on split-screen (#32536)
Summary:
When switching between split screen or resizing the screen window on Android causes a restart by reconstructing the app components as described on this issue https://github.com/facebook/react-native/issues/25040

## Changelog

<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://github.com/facebook/react-native/wiki/Changelog
-->
[Android] [Fixed] - Don't reconstruct app components https://github.com/facebook/react-native/issues/25040

Pull Request resolved: https://github.com/facebook/react-native/pull/32536

Test Plan:
### How to reproduce
- create a new project
-  build app and install on Android
- minimize app and start split screen
Expected:
- App enters split screen
Result:
- App restart

Same issue can be seen when resizing the split screen window

Reviewed By: cortinico

Differential Revision: D32175433

Pulled By: yungsters

fbshipit-source-id: 93dccaa134074eea260cca61eba2150444fa5688
2021-11-05 10:36:39 -07:00
..
__tests__ Exclude RN templates from internal linters 2019-02-11 15:42:17 -08:00
_bundle Introduce Gemfile, ruby-version (#32303) 2021-10-01 21:22:26 -07:00
android Don't reconstruct app component on split-screen (#32536) 2021-11-05 10:36:39 -07:00
ios Add back Xcode_12_5_M1_post_install_workaround 2021-10-25 11:34:05 -07:00
App.js move Hermes badge from template to NewAppScreen library (#28783) 2020-07-14 06:29:00 -07:00
Gemfile Introduce Gemfile, ruby-version (#32303) 2021-10-01 21:22:26 -07:00
Gemfile.lock iOS Ruby Updates (#32456) 2021-10-21 15:58:18 -07:00
_buckconfig Move react-native template 2018-12-07 07:49:19 -08:00
_eslintrc.js Add .eslintrc to RN project template (#23901) 2019-03-21 07:14:23 -07:00
_flowconfig Deploy 0.163.0 to xplat 2021-10-29 19:06:23 -07:00
_gitignore Update _gitignore - Remove .hprof (#31679) 2021-06-10 17:04:57 -07:00
_prettierrc.js JS: Upgrade to Prettier v2.4.1 [1/n] 2021-11-02 22:14:16 -07:00
_ruby-version Introduce Gemfile, ruby-version (#32303) 2021-10-01 21:22:26 -07:00
_watchmanconfig Move react-native template 2018-12-07 07:49:19 -08:00
app.json Move react-native template 2018-12-07 07:49:19 -08:00
babel.config.js fix: change template to work with jest (#23150) 2019-01-24 17:33:50 -08:00
index.js Exclude RN templates from internal linters 2019-02-11 15:42:17 -08:00
metro.config.js Change default metro.config.js to utilize inline requires (#29770) 2020-08-26 11:30:59 -07:00
package.json Back out "Make react-native depend on react-native-gradle-plugin" 2021-09-30 12:32:36 -07:00