mxui.js?637076270637585250:74 Error: Cannot have two HTML5 backends at the same time.

0
For our application we have written a custom calenderwidget making use of react-big-scheduler library. The calender is filled with data coming from datasource microflows. Navigating to next or previous month is implemented in Mendix microflows where the page with the calenderwidget is reloaded to show the data of previous or next month. But sometimes this calenderwidget doesn’t load and in de browser console an error appears : mxui.js?637076270637585250:74 Error: Cannot have two HTML5 backends at the same time.     at e.setup (widgets.js?637076270637585250:64696)     at handleRefCountChange (widgets.js?637076270637585250:64696)     at Object.u [as dispatch] (widgets.js?637076270637585250:64696)     at e.addSource (widgets.js?637076270637585250:64696)     at r (widgets.js?637076270637585250:64696)     at f.receiveType (widgets.js?637076270637585250:64696)     at f.receiveProps (widgets.js?637076270637585250:64696)     at f.componentDidMount (widgets.js?637076270637585250:64696)     at Jr (widgets.js?637076270637585250:64696)     at t.unstable_runWithPriority (widgets.js?637076270637585250:64696)   Any ideas where this can come from and how to solve it?
asked
1 answers
0

Hey, 

I had the same issue and I managed to find a workaround which might be interesting for other facing this issue. What you can do before navigating to the page that has the widget is a ‘Close page’ activity with the option set to ‘All’.

This way all pages rendered in memory are closed and therefor this error won't popup.

answered