infi-pc / locatorjs

https://www.locatorjs.com
1.31k stars 60 forks source link

bug: data-locatorjs-is is added to React.Fragment #155

Open ajkl2533 opened 4 months ago

ajkl2533 commented 4 months ago

Where the bug happens

your browser

No response

Describe the bug

After upgrading to React 18.3.0 we started seeing many errors in the console noting that the data-locatorjs-id is added to React.Fragment while only key and children properties are valid for fragments.

Screenshot 2024-05-03 at 14 52 02

We are using:

"@locator/babel-jsx": "^0.4.3",
"@locator/runtime": "^0.4.3",
Denysmogyliuk commented 1 month ago

I have the same problem, expect for a quick solution