Amit Dhiman

Results 7 comments of Amit Dhiman

@jaywcjlove Sorry, I forgot to mention, issue is happening in nextjs project. I have followed this [example](https://github.com/uiwjs/react-textarea-code-editor/issues/31#issuecomment-909363339)

@jaywcjlove Here is the codesandbox example. https://codesandbox.io/s/react-textarea-code-editor-example-nextjs-forked-nqgxb?file=/pages/index.js When you click on **Bold** button, the textarea ref is pointing to an exception.

@karfau Code is not available in public domain, it is a private git repo in my organisation. Here is sample project to demonstrate the issue [repo link](https://github.com/amitdhiman000/xmldom_316) `npm install` `npm...

@karfau Thanks for your suggestions. I dig little bit deeper and found the solution for the problem. I used the commonjs plugin, to load @xmldom/xmldom package. **web-test-runner-config.js** ``` import rollupCommonjs...

I can't use it in **nextjs** ``` ReferenceError: window is not defined at Yo node_modules/@brainhubeu/react-carousel/lib/react-carousel.js:2:100449 ``` It would be great to have SSR support.

> Thanks for the report. So you are on an intel Mac, right? Unfortunately I do not own an intel or Arm mac so this will be a bit hard...

Closure compiler is stripping off the default exports. Facing this problem with emscripten generated ES6 code. When are we getting this feature ? Or at-least a workaround ?