pemedia / payload-visual-editor

Payload CMS plugin which provides a visual live editor directly in the Admin UI. Works for collections and globals. Compatible with any kind of JS/TS based frontend technology.
MIT License
209 stars 10 forks source link

usePreview give error in admin in local dev in Chrome #32

Open supermario12342003 opened 1 year ago

supermario12342003 commented 1 year ago

I got this error when i use this plugin in local in Chrome. Maybe it's caused by the react debug chrome extension. I do not see any error when i try my local site in the firefox. Does anyone know how to avoid seeing this error?

Screenshot 2023-11-22 at 21 25 37
dkirchhof commented 10 months ago

Hm, I don't use react dev tools so I can't reproduce the error. The dev tools send some post messages from the frontend to the backend? A bit weired. There is a PR with some new features, but will require some breaking changes. They could fix this problem.