Skip to content

React Suspense support #3

@kosich

Description

@kosich

Enable Suspense for SSR

Something like

const App = () => {
  // $Suspense is a reactive element
  <$Suspense fallback={ <span>loading...</span> }>
    { stream$ }
  </$Suspense>
}

--

TODO: Consider approach suggested by @joshribakoff in #4 (comment) with BehaviorSubject

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions