Puk Hung-Yu

Results 8 comments of Puk Hung-Yu

这篇博客让我在理解高阶组件之前对纯函数有个充分的认识,谢谢作者的分享,几篇文章我都反复看了很多次,每次都有不一样的收获

提供下node版本,使用v14版本的时候有报错,切换到16看看呢

@david-mohr sorry for that, i mount multiDrag plugin in my component twice, it`s my fault, your code is fully successful, thumbs up

i meet that problem in vue tsx file hmr, is it fixed now ? i use `module['hot'].accept()` it doesn`t work , the page reload several times and turns to white

> Hello @Trojan0523, you can use my plugin for that: https://github.com/visualfanatic/vite-plugin-svg thank you so much ! i use it ,and it works

using node v16.18.1 also met this problem, on MBP 13 M1, problem performed like @btecu > Error: Bindings not found at Compiler.transformSync (/Users/buxiongyu/Desktop/zeus/node_modules/.pnpm/@[email protected]/node_modules/@swc/core/index.js:250:15) at Object.transformSync (/Users/buxiongyu/Desktop/zeus/node_modules/.pnpm/@[email protected]/node_modules/@swc/core/index.js:348:21) at compile (/Users/buxiongyu/Desktop/zeus/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@swc/register/lib/node.js:76:22) at...