react-ab icon indicating copy to clipboard operation
react-ab copied to clipboard

exceptions on server side rendering

Open nsantini opened this issue 9 years ago • 0 comments

basically trying to use 'window' and 'document' will throw an exception on the server, so wrapping their use with a try/catch and returning default values will sort it (tested it manually and it works)

nsantini avatar Oct 13 '16 23:10 nsantini