found icon indicating copy to clipboard operation
found copied to clipboard

Bug: Doesn't render if we use React 18

Open 0xHexE opened this issue 2 years ago • 5 comments

Found doesn't work if we use a new API for rendering the app. If we use the previous render method it works, but with this new createRoot API it doesn't work.

Example: https://stackblitz.com/edit/react-ts-txojky?file=index.tsx

0xHexE avatar Apr 21 '22 07:04 0xHexE

Hey the links example seems to work for me. What are you seeing that is wrong?

jquense avatar Apr 21 '22 12:04 jquense

You are not going to believe it but when I wrote it was not working. Now it is working. Strange. The most probability is HMR.

0xHexE avatar Apr 21 '22 15:04 0xHexE

I see if you change something in that link it shows a blank screen.

Screen Shot 2022-04-21 at 7 07 48 PM

Anyways I have one project even if I start the project from the command line it is showing an empty screen.

0xHexE avatar Apr 21 '22 15:04 0xHexE

FYI I am using Vite.

0xHexE avatar Apr 21 '22 15:04 0xHexE

I found a possible solution in #968, maybe that's what fixed it for you?

puchm avatar Apr 29 '22 13:04 puchm