Skip to content
This repository has been archived by the owner on Jan 16, 2021. It is now read-only.

[v1] Roadmap #3

Closed
11 of 32 tasks
z0al opened this issue Apr 21, 2020 · 0 comments
Closed
11 of 32 tasks

[v1] Roadmap #3

z0al opened this issue Apr 21, 2020 · 0 comments
Labels
help wanted Extra attention is needed meta

Comments

@z0al
Copy link
Owner

z0al commented Apr 21, 2020

This is a meta-issue to track progress towards the first stable release of Oktane. It's worth mentioning that the order of tasks listed here is not relevant.

Before v1.0.0

Tasks

  • Automatic fetching via useQuery
  • Manual fetching via useManualQuery
  • Prefetching (via client.prefetch)
  • Request cancellation & refetching
  • Helpers for infinite loading: hasMore and fetchMore.
  • Support Subscriptions
  • support refetching (acts like a the refresh button in the browser)
  • support passing options to useQuery & useManualQuery
  • Server Side Rendering (SSR)?
  • Retrying failed requests
  • React suspense support
  • Pass AbortController signal to the fetch function to enable true Promise(s) cancellation.
  • Throw an error if cache objects were mutated externally (e.g. in plugins, fetch handlers ..etc).
  • Official plugins:
    • Optimistic updates
  • Anything else? comment below.

Docs

  • Public API docs
    • createClient
    • useQuery
    • useManualQuery
    • useClient
  • Examples:
    • Basic
    • Pagination
    • Infinite loading
    • Subscription
    • Prefetching
    • Request cancellation
    • Using Observables
  • Anything else? comment below.

A bit later (maybe)

  • Provide Dev tooling support either by building from scratch or on the top of existing devtools.
  • Make it easy to run the client inside a Web Worker by wrapping helpers from comlink.
@z0al z0al added help wanted Extra attention is needed meta labels Apr 21, 2020
@z0al z0al closed this as completed Sep 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed meta
Projects
None yet
Development

No branches or pull requests

1 participant