Skip to content

Commit

Permalink
Refactor preexisting example app with focus on offline support (#6172)
Browse files Browse the repository at this point in the history
* Set up RN project.

* Move files from 'example' into this new project.

* Remove example from workspaces.

* Align on how to open Realms.

* Export colors as named.

* Move 'LoginScreen' to screens directory.

* Align the use of function components.

* Refactor task manager to separate business and view concerns.

* Remove unnecessary app wrapper after the refactor.

* Refactor 'OfflineModeButton' to separate business and view concerns.

* Update comments about the use of the babel plugin.

* Add backend (App Services App).

* Write README.

* Update styles to match our React and Electron apps.

* Improve accessibility.

* Update intro text.

* Show the returned error message on the login screen.

* Pass user ID instead of using 'useUser()' to allow 'AppNonSync' to run.

* Update README.

* Update TS docs.

* Remove previous commented out metro config.

* Specify RN CLI Quickstart in README.

* Update README.
  • Loading branch information
elle-j committed Oct 9, 2023
1 parent 442602d commit 0f790ce
Show file tree
Hide file tree
Showing 132 changed files with 23,134 additions and 2,153 deletions.
4 changes: 0 additions & 4 deletions example/.eslintrc.js

This file was deleted.

1 change: 0 additions & 1 deletion example/.node-version

This file was deleted.

7 changes: 0 additions & 7 deletions example/.prettierrc.js

This file was deleted.

1 change: 0 additions & 1 deletion example/.watchmanconfig

This file was deleted.

100 changes: 0 additions & 100 deletions example/Gemfile.lock

This file was deleted.

3 changes: 0 additions & 3 deletions example/android/app/src/main/res/values/strings.xml

This file was deleted.

Binary file removed example/android/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 0 additions & 4 deletions example/android/settings.gradle

This file was deleted.

4 changes: 0 additions & 4 deletions example/app.json

This file was deleted.

22 changes: 0 additions & 22 deletions example/app/AppNonSync.tsx

This file was deleted.

64 changes: 0 additions & 64 deletions example/app/AppSync.tsx

This file was deleted.

26 changes: 0 additions & 26 deletions example/app/AppWrapperNonSync.tsx

This file was deleted.

48 changes: 0 additions & 48 deletions example/app/AppWrapperSync.tsx

This file was deleted.

71 changes: 0 additions & 71 deletions example/app/components/AddTaskForm.tsx

This file was deleted.

0 comments on commit 0f790ce

Please sign in to comment.