-
Notifications
You must be signed in to change notification settings - Fork 586
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add RN example app (Multiple Realms) #6136
Merged
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
a57dab4
Setup RN project.
elle-j 75e6df0
Add initial navigation.
elle-j 92f509a
Integrate Realm and sync dataset.
elle-j 988f1a2
Show loading screen at startup.
elle-j a8f1ea6
Implement 'AccountScreen'.
elle-j 42a3ba3
Add types to the navigation.
elle-j ffd915d
Refactor top 'App' into two components.
elle-j e7a6fe3
Refactor 'MovieProvider' with a helper query function.
elle-j a68fbf2
Refactor lists of movies to own memoized components.
elle-j fbde559
Minor style updates.
elle-j 5ad0781
Update model.
elle-j b261831
Implement 'MovieInfoScreen'.
elle-j cc6df7b
Rename 'HomeScreen' to 'MoviesScreen'.
elle-j 86a60c0
Rename 'AnonymousLogin' to 'PublicLogin'.
elle-j 5a4d29c
Add 'PrivateContent' model.
elle-j 24d6a33
Open different Realm if public account.
elle-j 80e6a6b
Provide 'My List' and 'add/remove' db operations.
elle-j c58ba68
Handle adding/removing from 'My List' on 'MovieInfoScreen'.
elle-j 4cd1a94
Update comments.
elle-j 5cba9ba
Improve accessibility.
elle-j 2bed6cb
Upgrade Realm minor version.
elle-j 03012cb
Update comments.
elle-j 35b94bd
Remove generic type from models.
elle-j 330afdd
Add 'AppInfoScreen'.
elle-j 462c21a
Add separate frontend and backend directories.
elle-j 0caa4c6
Add README.
elle-j 590e127
Update README.
elle-j 1afe90b
Add placeholder App ID.
elle-j ad5723f
Update comments.
elle-j 4a69a4b
Move inline icons out of parent component.
elle-j 264896d
Update README.
elle-j 696d83c
Change the schema name to 'movies' for the sample dataset.
elle-j 92831b1
Open MDB links in host's browser instead of simulator.
elle-j c91f225
Update README.
elle-j File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Change the schema name to 'movies' for the sample dataset.
This is to make it easier for users who set up App Services manually rather than via the Realm CLI.
- Loading branch information
commit 696d83c7d85fe354d6e46207b878a1c229392efd
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -180,6 +180,6 @@ | |
"type", | ||
"year" | ||
], | ||
"title": "movie", | ||
"title": "movies", | ||
"type": "object" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ | |
"PrivateContent": [ | ||
"userId" | ||
], | ||
"movie": [ | ||
"movies": [ | ||
"poster", | ||
"year", | ||
"fullplot", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing. This works wonderfully. We should probably adopt this strategy for all our examples. JS people love the terminal ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I definitely think so too. Was talking to Kenneth about it today. Much better DX, less hassle, and less error prone 👍