More of a question than an issue I would say. Why do we need Suspense here https://github.com/software-mansion/react-freeze/blob/main/src/index.tsx#L39?
The react-freeze is used by react-navigation. I don't use the freeze option but my screens go to suspense in this library and render null. I believe there would be a way to propagate placeholder and display something, but I already have suspense in my app. I want that suspense to catch the promise.
I can submit a PR with something like this:
if (!freeze) {
return <Fragment>{props.children}</Fragment>
}
I just wanted to validate first
More of a question than an issue I would say. Why do we need
Suspensehere https://github.com/software-mansion/react-freeze/blob/main/src/index.tsx#L39?The
react-freezeis used byreact-navigation. I don't use the freeze option but my screens go to suspense in this library and rendernull. I believe there would be a way to propagateplaceholderand display something, but I already have suspense in my app. I want that suspense to catch the promise.I can submit a PR with something like this:
I just wanted to validate first