alibaba / hooks

A high-quality & reliable React Hooks library. https://ahooks.pages.dev/
https://ahooks.js.org/
MIT License
14.06k stars 2.71k forks source link

Please delete the depreciated useAntdTable folder under the lib folder #284

Closed Henryhehe closed 4 years ago

Henryhehe commented 4 years ago

Using this with typescript and next.js, however, when I build the typescript, it always gives me the error for

ReferenceError: regeneratorRuntime is not defined

And it is coming from

node_modules/@umijs/hooks/lib/useAntdTable/index.js:12:41

I have to manually delete the folder in order for it to build successfully.

Thank you!

brickspert commented 4 years ago

The fastest way is add regenerator-runtimehttps://hooks.umijs.org/docs/faq#when-i-use-umi-hooks-i-get-an-error-regeneratorruntime-is-not-defined-how-can-i-solve-it

And we will fix this as soon as possible.

Thank you for your feedback.