react-select-async-paginate
react-select-async-paginate copied to clipboard
A problem in useAsyncPaginateBase.js under es folder thorwing an error on console useEffect received a final argument that is not an array (instead, received `boolean`). When specified, the final argument must be an array.
I have been using react-select-async-paginate for a very long I found an issue on the console while debugging Please find it in the below image
.
Then I started debugging the application and found that the issue is in useAsyncPaginateBase.js on line 224. Don't know where the arguments are coming from but I fixed the same function by adding another condition Array.isArray(arguments[9]) for deps.
Can you please tell me where the arguments coming from as the deps?: Array
I saw this too, and I am (a) using react components, and (b) it only happened when I passed the cacheUniqs
prop
Is there any new on this?
https://github.com/vtaits/react-select-async-paginate/tree/master/packages/react-select-async-paginate#cacheuniqs
Make example please if you think something is working wrong