Skip to content
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 example app for WASM / Web Sync #5880

Merged
merged 55 commits into from
Jun 21, 2023
Merged

Conversation

elle-j
Copy link
Contributor

@elle-j elle-j commented Jun 9, 2023

What, How & Why?

Adds an example React Todo/Task app for showcasing Realm and Sync for Web using WASM.

For more information see the Example WASM README.

Use cases

  • Log in and register (email/password)
  • Log out
  • Create tasks
  • Read/query tasks
  • Update the status of tasks
  • Delete tasks
  • Sync
  • Local/Offline-first
  • Realm JS and @realm/react hooks

example-wasm/README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@nhachicha nhachicha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one 🎉
I tested this using the latest nh/wasm/emscripten_target which leverages the Bindgen Opt-In, as well as building WASM in Release mode and it works 👍

Copy link
Contributor

@takameyer takameyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work on this! I added a few minor comments. Also I noticed that there are linter errors unrelated to this code. They seem to preexist from emscripten_target. We should probably make a ticket to remove those, or help @nhachicha setup his linter :D

package.json Outdated Show resolved Hide resolved
@elle-j elle-j merged commit b461896 into nh/wasm/emscripten_target Jun 21, 2023
@elle-j elle-j deleted the lj/wasm/poc branch June 21, 2023 10:23
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants