Skip to content

Is there a name for this pattern? #5

Open
@jakearchibald

Description

@jakearchibald
  1. Async request to cache
    1. If successful, then
      1. If we've already updated the page using data fetch from the network (2.i.b), abort these steps
      2. Render content with fetched data
  2. Async request to network
    1. If successful, then
      1. Update cache with fetched data
      2. Render/update content with fetched data
    2. Else,
      1. Depend on previous request to cache
      2. If unsuccessful, display error

If not, we should name it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions