Skip to content

Feature: Offline Capabilities #415

@itsezc

Description

@itsezc

Is your feature request related to a problem?

Currently its not clear on how to handle offline access. For PWA's and apps that require Offline compatibility it'd be great if we can have an "offline" mode availability to sync back when online.

Describe the solution

A local store to "cache" fetched data and mutate the fetched data, with additions made that are sync'ed when the database is available and stored under localStorage for persistence perhaps.

Alternative methods

This could be achieved using third party libraries such as react-query but this provides lock in and only available for certain frameworks.

SurrealDB version

2.0

JavaScript SDK version

latest

Contact Details

No response

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions