The problem seems more complex as it did work for me randomly, then it just stops working. Make a real test react website project and test that. There’s nothing I could have done wrong, and it does work randomly, so it is working, it’s just not working all the time.
a year ago
The only reason that widget would not work is, if you specify incorrect type of widget when you initialize the script or module.
For example, if you try to setup float type widget as badge/line widgets, it will not work.