forma-36 icon indicating copy to clipboard operation
forma-36 copied to clipboard

🐛 Bug - React 19 compatibility issue

Open useyourillusions opened this issue 11 months ago • 19 comments

Forma 36 bug report

Forma 36 Notifications are not compatible with React 19.

Environment

A Contentful application built with React 19, running in the 'page' location.

Steps to reproduce

Import Notification into your component and call methods like Notification.error, Notification.warning, Notification.setPlacement, or any other available method.

Expected results

The notification is displayed in the specified placement.

Actual results

No notification is displayed, an error appears in the console.

@contentful_f36-comp…js?v=e150f0e0:46086 Uncaught (in promise) TypeError: (0 , import_react_dom4.render) is not a function
    at new Promise (<anonymous>)
    at App.tsx:59:22

useyourillusions avatar Feb 02 '25 12:02 useyourillusions

Marking issue as stale since there was no activity for 30 days

github-actions[bot] avatar Mar 05 '25 07:03 github-actions[bot]

This is still an issue

marcoreni avatar Mar 19 '25 10:03 marcoreni

Marking issue as stale since there was no activity for 30 days

github-actions[bot] avatar Apr 19 '25 07:04 github-actions[bot]

Still an issue...

marcoreni avatar Apr 20 '25 09:04 marcoreni

Marking issue as stale since there was no activity for 30 days

github-actions[bot] avatar May 21 '25 07:05 github-actions[bot]

Guess what? Not stale!

I fear this project is abandoned...

marcoreni avatar May 21 '25 08:05 marcoreni

Are there any plans to address this issue?

oskarski avatar Jun 20 '25 12:06 oskarski

Marking issue as stale since there was no activity for 30 days

github-actions[bot] avatar Jul 21 '25 07:07 github-actions[bot]

Still an issue :(

useyourillusions avatar Jul 27 '25 15:07 useyourillusions

Also coming across this. Having to resort to notistack instead inside my Contentful app.

dazulu avatar Jul 29 '25 14:07 dazulu

Hi, we’re currently preparing an update to React 18 which should address this and will be released soon but we don’t have an exact date yet.

veu avatar Jul 30 '25 09:07 veu

Marking issue as stale since there was no activity for 30 days

github-actions[bot] avatar Aug 30 '25 07:08 github-actions[bot]

Maybe there's a way to avoid having to post a ping every 30 days just to say this is still an issue?

... This is still an issue.

marcoreni avatar Sep 02 '25 10:09 marcoreni

@marcoreni we have started working on the upgrade this week

Lelith avatar Sep 05 '25 06:09 Lelith

Do you have a timeline for when this will be done? @Lelith

TDahlK-Ikea avatar Sep 26 '25 13:09 TDahlK-Ikea

The ModalLauncher is impacted by this too, btw

svenja-haas avatar Sep 29 '25 08:09 svenja-haas

Marking issue as stale since there was no activity for 30 days

github-actions[bot] avatar Oct 30 '25 07:10 github-actions[bot]

still an issue (seeing it with ModalLauncher on the richtext component) @Lelith

sarah-relander-berg avatar Nov 06 '25 23:11 sarah-relander-berg

Marking issue as stale since there was no activity for 30 days

github-actions[bot] avatar Dec 07 '25 07:12 github-actions[bot]