Hi I\'m trying to use react-rte in my reactJS project. I have server side rendering and every time I want to use this package I get:
return /msie [6-9]\\b/.
I've been using ReactJS.NET targeting build to client and server, and got the same problem.
The solution is to set output.globalObject to 'this'
.
module.exports = {
// ...
output: {
// ...
globalObject: 'this'
}
};
Without that option set, it's falling back to window
which is working on client-only code.