This repository exposes an untouched React Native app generated with the CLI
react-native init RnDiffApp
. Each new React Native version causes a new project to be created, removing the old one, and getting a diff between them. This way, the diff is always clean, always in sync with the changes of the init template, and there is no reason to use the broken react-native upgrade
or git-upgrade
or whatever.
A dedicated branch per version makes changes very easy to watch. For example:
- https://github.com/pvinis/rn-diff-purge/compare/version/0.28.0...version/0.29.0 (Change in Android template)
- https://github.com/pvinis/rn-diff-purge/compare/version/0.29.0...version/0.29.2 (no change)
- https://github.com/pvinis/rn-diff-purge/compare/version/0.30.0...version/0.31.0
(minor change in
.flowconfig
)
See table below for the complete list.
This repository can also be used to upgrade React Native without the often broken react-native-git-upgrade
command.
See USAGE.md for details.
For some more info about the benefits of this repo's way versus the default way and rn-diff's way, read some of the conversation around here.
Please ⭐ this repository if I helped you ;)
Version | Compare | Patch | Stats | RN Compare |
---|---|---|---|---|
0.58.3 | 0.58.2...0.58.3 | 0.58.2...0.58.3 | 1 file changed, 1 insertion(+), 1 deletion(-) | 0.58.2...0.58.3 |
0.58.2 | 0.58.1...0.58.2 | 0.58.1...0.58.2 | 2 files changed, 2 insertions(+), 2 deletions(-) | 0.58.1...0.58.2 |
0.58.1 | 0.58.0...0.58.1 | 0.58.0...0.58.1 | 1 file changed, 3 insertions(+), 3 deletions(-) | 0.58.0...0.58.1 |
0.58.0 | 0.57.8...0.58.0 | 0.57.8...0.58.0 | 18 files changed, 74 insertions(+), 43 deletions(-) | 0.57.8...0.58.0 |
0.57.8 | 0.57.7...0.57.8 | 0.57.7...0.57.8 | 1 file changed, 1 insertion(+), 1 deletion(-) | 0.57.7...0.57.8 |
0.57.7 | 0.57.6...0.57.7 | 0.57.6...0.57.7 | 1 file changed, 1 insertion(+), 1 deletion(-) | 0.57.6...0.57.7 |
0.57.6 | 0.57.5...0.57.6 | 0.57.5...0.57.6 | 1 file changed, 2 insertions(+), 2 deletions(-) | 0.57.5...0.57.6 |
0.57.5 | 0.57.4...0.57.5 | 0.57.4...0.57.5 | 2 files changed, 5 insertions(+), 5 deletions(-) | |
0.57.4 | 0.57.3...0.57.4 | 0.57.3...0.57.4 | 2 files changed, 3 insertions(+), 3 deletions(-) | |
0.57.3 | 0.57.2...0.57.3 | 0.57.2...0.57.3 | 1 file changed, 4 insertions(+), 4 deletions(-) | |
0.57.2 | 0.57.1...0.57.2 | 0.57.1...0.57.2 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.57.1 | 0.57.0...0.57.1 | 0.57.0...0.57.1 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.57.0 | 0.56.0...0.57.0 | 0.56.0...0.57.0 | 15 files changed, 112 insertions(+), 80 deletions(-) | |
0.56.0 | 0.55.4...0.56.0 | 0.55.4...0.56.0 | 19 files changed, 60 insertions(+), 90 deletions(-) | |
0.55.4 | 0.55.0...0.55.4 | 0.55.0...0.55.4 | 1 file changed, 3 insertions(+), 3 deletions(-) | |
0.55.0 | 0.54.4...0.55.0 | 0.54.4...0.55.0 | 9 files changed, 148 insertions(+), 35 deletions(-) | |
0.54.4 | 0.54.0...0.54.4 | 0.54.0...0.54.4 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.54.0 | 0.53.3...0.54.0 | 0.53.3...0.54.0 | 3 files changed, 6 insertions(+), 12 deletions(-) | |
0.53.3 | 0.53.0...0.53.3 | 0.53.0...0.53.3 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.53.0 | 0.52.2...0.53.0 | 0.52.2...0.53.0 | 3 files changed, 4 insertions(+), 5 deletions(-) | |
0.52.2 | 0.52.0...0.52.2 | 0.52.0...0.52.2 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.52.0 | 0.51.0...0.52.0 | 0.51.0...0.52.0 | 3 files changed, 77 insertions(+), 15 deletions(-) | |
0.51.0 | 0.50.4...0.51.0 | 0.50.4...0.51.0 | 2 files changed, 23 insertions(+), 23 deletions(-) | |
0.50.4 | 0.50.0...0.50.4 | 0.50.0...0.50.4 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.50.0 | 0.49.5...0.50.0 | 0.49.5...0.50.0 | 3 files changed, 12 insertions(+), 6 deletions(-) | |
0.49.5 | 0.49.0...0.49.5 | 0.49.0...0.49.5 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.49.0 | 0.48.4...0.49.0 | 0.48.4...0.49.0 | 11 files changed, 43 insertions(+), 88 deletions(-) | |
0.48.4 | 0.48.3...0.48.4 | 0.48.3...0.48.4 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.48.3 | 0.48.2...0.48.3 | 0.48.2...0.48.3 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.48.2 | 0.48.1...0.48.2 | 0.48.1...0.48.2 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.48.1 | 0.48.0...0.48.1 | 0.48.0...0.48.1 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.48.0 | 0.47.2...0.48.0 | 0.47.2...0.48.0 | 2 files changed, 36 insertions(+), 3 deletions(-) | |
0.47.2 | 0.47.1...0.47.2 | 0.47.1...0.47.2 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.47.1 | 0.47.0...0.47.1 | 0.47.0...0.47.1 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.47.0 | 0.46.4...0.47.0 | 0.46.4...0.47.0 | 2 files changed, 4 insertions(+), 4 deletions(-) | |
0.46.4 | 0.46.3...0.46.4 | 0.46.3...0.46.4 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.46.3 | 0.46.2...0.46.3 | 0.46.2...0.46.3 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.46.2 | 0.46.1...0.46.2 | 0.46.1...0.46.2 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.46.1 | 0.46.0...0.46.1 | 0.46.0...0.46.1 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.46.0 | 0.45.1...0.46.0 | 0.45.1...0.46.0 | 3 files changed, 6 insertions(+), 8 deletions(-) | |
0.45.1 | 0.45.0...0.45.1 | 0.45.0...0.45.1 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.45.0 | 0.44.3...0.45.0 | 0.44.3...0.45.0 | 3 files changed, 13 insertions(+), 6 deletions(-) | |
0.44.3 | 0.44.2...0.44.3 | 0.44.2...0.44.3 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.44.2 | 0.44.1...0.44.2 | 0.44.1...0.44.2 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.44.1 | 0.44.0...0.44.1 | 0.44.0...0.44.1 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.44.0 | 0.43.4...0.44.0 | 0.43.4...0.44.0 | 6 files changed, 12 insertions(+), 8 deletions(-) | |
0.43.4 | 0.43.3...0.43.4 | 0.43.3...0.43.4 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.43.3 | 0.43.2...0.43.3 | 0.43.2...0.43.3 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.43.2 | 0.43.1...0.43.2 | 0.43.1...0.43.2 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.43.1 | 0.43.0...0.43.1 | 0.43.0...0.43.1 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.43.0 | 0.42.3...0.43.0 | 0.42.3...0.43.0 | 4 files changed, 39 insertions(+), 39 deletions(-) | |
0.42.3 | 0.42.2...0.42.3 | 0.42.2...0.42.3 | 3 files changed, 7 insertions(+), 1 deletion(-) | |
0.42.2 | 0.42.0...0.42.2 | 0.42.0...0.42.2 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.42.0 | 0.41.2...0.42.0 | 0.41.2...0.42.0 | 9 files changed, 12 insertions(+), 18 deletions(-) | |
0.41.2 | 0.41.1...0.41.2 | 0.41.1...0.41.2 | 3 files changed, 9 insertions(+), 3 deletions(-) | |
0.41.1 | 0.41.0...0.41.1 | 0.41.0...0.41.1 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.41.0 | 0.40.0...0.41.0 | 0.40.0...0.41.0 | 8 files changed, 477 insertions(+), 6 deletions(-) | |
0.40.0 | 0.39.1...0.40.0 | 0.39.1...0.40.0 | 7 files changed, 238 insertions(+), 26 deletions(-) | |
0.39.1 | 0.39.0...0.39.1 | 0.39.0...0.39.1 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.39.0 | 0.38.0...0.39.0 | 0.38.0...0.39.0 | 5 files changed, 76 insertions(+), 55 deletions(-) | |
0.38.0 | 0.37.0...0.38.0 | 0.37.0...0.38.0 | 4 files changed, 14 insertions(+), 6 deletions(-) | |
0.37.0 | 0.36.1...0.37.0 | 0.36.1...0.37.0 | 2 files changed, 9 insertions(+), 9 deletions(-) | |
0.36.1 | 0.36.0...0.36.1 | 0.36.0...0.36.1 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.36.0 | 0.35.0...0.36.0 | 0.35.0...0.36.0 | 3 files changed, 5 insertions(+), 5 deletions(-) | |
0.35.0 | 0.34.1...0.35.0 | 0.34.1...0.35.0 | 6 files changed, 50 insertions(+), 12 deletions(-) | |
0.34.1 | 0.34.0...0.34.1 | 0.34.0...0.34.1 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.34.0 | 0.33.1...0.34.0 | 0.33.1...0.34.0 | 3 files changed, 13 insertions(+), 9 deletions(-) | |
0.33.1 | 0.33.0...0.33.1 | 0.33.0...0.33.1 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.33.0 | 0.32.0...0.33.0 | 0.32.0...0.33.0 | 3 files changed, 10 insertions(+), 10 deletions(-) | |
0.32.0 | 0.31.0...0.32.0 | 0.31.0...0.32.0 | 2 files changed, 6 insertions(+), 6 deletions(-) | |
0.31.0 | 0.30.0...0.31.0 | 0.30.0...0.31.0 | 2 files changed, 21 insertions(+), 4 deletions(-) | |
0.30.0 | 0.29.2...0.30.0 | 0.29.2...0.30.0 | 4 files changed, 3 insertions(+), 3 deletions(-) | |
0.29.2 | 0.29.1...0.29.2 | 0.29.1...0.29.2 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.29.1 | 0.29.0...0.29.1 | 0.29.0...0.29.1 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.29.0 | 0.28.0...0.29.0 | 0.28.0...0.29.0 | 7 files changed, 48 insertions(+), 115 deletions(-) | |
0.28.0 | 0.27.2...0.28.0 | 0.27.2...0.28.0 | 8 files changed, 33 insertions(+), 13 deletions(-) | |
0.27.2 | 0.27.1...0.27.2 | 0.27.1...0.27.2 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.27.1 | 0.27.0...0.27.1 | 0.27.0...0.27.1 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.27.0 | 0.26.3...0.27.0 | 0.26.3...0.27.0 | 5 files changed, 13 insertions(+), 8 deletions(-) | |
0.26.3 | 0.26.2...0.26.3 | 0.26.2...0.26.3 | 1 file changed, 2 insertions(+), 2 deletions(-) | |
0.26.2 | 0.26.1...0.26.2 | 0.26.1...0.26.2 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.26.1 | 0.26.0...0.26.1 | 0.26.0...0.26.1 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.26.0 | 0.25.1...0.26.0 | 0.25.1...0.26.0 | 3 files changed, 14 insertions(+), 18 deletions(-) | |
0.25.1 | 0.24.1...0.25.1 | 0.24.1...0.25.1 | 7 files changed, 10 insertions(+), 14 deletions(-) | |
0.24.1 | 0.24.0...0.24.1 | 0.24.0...0.24.1 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
0.24.0 | 0.23.1...0.24.0 | 0.23.1...0.24.0 | 11 files changed, 117 insertions(+), 102 deletions(-) | |
0.23.1 | 0.23.0...0.23.1 | 0.23.0...0.23.1 | 1 file changed, 2 insertions(+), 2 deletions(-) | |
0.23.0 | X | X | X |
Note that the diff stat (last column) doesn't take the package.json
into account (it
doesn't have to: the package.json
must be updated by hand before upgrading React Native).
react-native-git-upgrade
is painful. A simple diff by recreating the project is a much much simpler way to get a diff on every new React Native version.
None so far.
The starting point is the generation of an app with the CLI tool. I've started from the oldest
version of react-native
I could go with react-native-cli
(October 2018).
I initialized the 3 or 4 first commits manually to see where was it going. Then I automated things with this script.
Unfortunately you can't ;). Correct me if I'm wrong but due to the particular structure of the branch tree, it's impossible to collaborate in the classic way (Pull Request on a non-existing branch).
Nevertheless, when a new version of React Native is released, I'll have to be prompt to provide the new diff. I guess having 3 or 4 collaborators on this project will help in the future. If you're interested, please open an issue to discuss.
Of course, the above doesn't concern suggesting changes on the master
branch (script or
README.md). Pull Requests are highly welcome!
If you have:
- questions
- suggestions
- ideas to make this even better
- the urge to just to say hello to me :)
feel free to make an issue or contact me. I'm pretty easy to find!