Aral Roca Gomez
Aral Roca Gomez
Also interested about how to solve this correctly
Is it possible to add comments to the Meriyah AST? I am interested to put the `@__PURE__` in some function calls
I have the same issue with this: ```ts function findCommentNode(htmlText: string, commentText: string) { return document .createTreeWalker( parser.parseFromString(htmlText, "text/html"), 128, /* NodeFilter.SHOW_COMMENT */ { acceptNode: (node) => node.textContent === commentText...
With `NodeFilter.SHOW_COMMENT` is not executing any `console.log` inside `acceptNode` function. However `NodeFilter.SHOW_ELEMENT + NodeFilter.SHOW_COMMENT` is returning the `comments` with the elements, but only `NodeFilter.SHOW_COMMENT` is not working!
Very curios that: ```ts if (process.env.NEXT_RUNTIME === 'nodejs') { /* WORKS */ } ``` And: ```ts if (process.env.NEXT_RUNTIME !== 'nodejs') return // NOT WORK ``` This happens with Next.js 13.5.4....
My question is: Why is necessary to add React and ReactDOM to window object? 😕At least, if this is absolute necessary... should be clean it on unmount... ```js componentWillUnMount(){ delete...
Same issue... Any new?
I found why is not working... ```js export default scriptLoader('https://www.paypalobjects.com/api/checkout.js')(PaypalButton); ``` In https://github.com/thinhvo0108/react-paypal-express-checkout/blob/master/src/index.js#L109 And then in the PayPal docs... https://developer.paypal.com/docs/archive/checkout/how-to/customize-button/ 
An alternative... https://www.npmjs.com/package/react-paypal-button-v2