Skip to content

Remove internal suspense boundary #298

@alexandernanberg

Description

@alexandernanberg

I can't see a good reason why there is a suspense boundary inside the library, this should ideally be handled by consumers for more granular control. E.g. consumer might not want to render null.

function Physics(props: ProviderProps) {
return (
<Suspense fallback={null}>
<Provider {...props} />
</Suspense>
)
}

This would unfortunately be a breaking change, but in the long run I think it's a good one.

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