tim chen

Results 18 comments of tim chen

统计来访者的插件数据很有趣,US第一...想半天才反应过来是VPN,妙啊

策略模式那部分的例子很不错,但我想的是在某些情况下策略模式是否可以简化成一种hash map的形式,我们将算法定义在一个hashMap中,然后通过match的方式,调用这些方法,这样是否也能称之为策略模式? 例如这样: ```js const matchMap = { handleSomeThing: () => { console.log('got control'); }, } matchMap['handleSomeThing']() ```

meet same problems. hope this PR can merge.

How can I find this in the Lottie doc?

向前辈学习了,实际场景中还是用到clonsJSON比较多

是的,学习了考虑引用这种情况...之前都没有这种意识

```js ERROR in ./node_modules/.pnpm/[email protected]/node_modules/react-dnd-html5-backend/dist/esm/index.js 1:0-42 Module not found: Error: Can't resolve './HTML5Backend' in '/Users/tim/xxx/node_modules/.pnpm/[email protected]/node_modules/react-dnd-html5-backend/dist/esm' Did you mean 'HTML5Backend.js'? BREAKING CHANGE: The request './HTML5Backend' failed to resolve only because it was...

> @TimRChen if you could make a separate issue for your problem, I can try to help you there. ok, i will. thanks.

```js Module not found: Error: Can't resolve 'stream' in '/Users/tim/xxx/node_modules/sax/lib' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the...

> ```js > Module not found: Error: Can't resolve 'stream' in '/Users/tim/xxx/node_modules/sax/lib' > BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. > This...