Skip to content

loadable support broken between 0.5.0 and 0.4.1 on StrictMode #17

@robertmusil

Description

@robertmusil

Minimal reproduction demo (based on Pokemon example): https://codesandbox.io/s/hardcore-feather-lljsfl?file=/src/App.tsx

  • Upon hard refresh, the loadable state quickly changes from loading to hasError
  • Any subsequent hmr refreshes actually resolve to hasData
  • Removing React.StrictMode resolves the problem (hides it?)
  • This behavior is not observed in 0.4.1

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