Some react libraries render their components differently if the window object is defined. Currently if the window object is unefined, this is assigned to the window, which is not the actual window object. This causes errors like these :
webpack-internal:///643:57: TypeError: Cannot read property 'userAgent' of undefined
Some react libraries render their components differently if the window object is defined. Currently if the window object is unefined, this is assigned to the window, which is not the actual window object. This causes errors like these :