#Baris-react-stripe-js-suspense

1 messages · Page 1 of 1 (latest)

dawn shard
#

Hello! I'm not sure, tbh. I don't see why not. Did you try it?

fiery bane
#

I have discovered that this issue mentioned here #dev-help message is caused by the Suspense tree. When removing it, its getting resolved fine and the hooks return their values and also the <PaymentElement /> shows up

#

otherwise the hooks return values were null and the PaymentElement did never show up

dawn shard
#

Ah, sorry I missed that original message

#

I doubt they'll add support until React 18 is released (still in beta, right?)

fiery bane
#

its in rc already, so out of beta

#

ah ok, nvm I have found out that the real issue was <React.StrictMode> not the <Suspense> itself!

#

I will mention all that in a Github Issue, might be a bug or help other developers.