Closed ohute-couture closed 5 years ago
Do you have a repository or codesandbox where we can reproduce the issue you are experiencing? This helps us tremendously in fixing bugs👍
You can check the code https://github.com/ohute-couture/preact_code_sand_box
and check console.error
https://ohute-couture.github.io/preact_code_sand_box/ (open dev tool)
when I made code sand box, I found it makes error if next element have a style
property
check this
@ohute-couture The issues you're seeing are caused by mixing Preact X with preact-compat
for Preact 8.x.
To fix this issue:
preact-compat
via npm uninstall preact-compat
package.json
to use the preact/compat
import from Preact X:"alias": {
"react": "preact/compat",
"react-dom": "preact/compat"
},
Thank you very much!! 👏👏👏👏👏
Hi,
I want to use babel-plugin-inline-react-svg But, preact-compat occur error It is same when I use parcel-plugin-svgr
I am using preact, TS, parcel I think, props
undefined
makes error fix this please ..