Server side rendering failing on undefined navigator
justinrex opened this issue · comments
Rex commented
https://github.com/insin/react-maskedinput/blob/master/src/index.js#L239
running a node server and trying to render this server side. Running into an issue because navigator is not available on the server
line 239
return navigator.userAgent.match(/Android/i)
aesopwolf commented
Just ran into the same issue. Seems like the events handlers can be stored in this.state
after componentDidMount
.
Rex commented
👍