Detects possible recursion on createEffect for SolidJS.
A Solid tool. See https://www.solidjs.com/
import createEffect from 'solid-create-effect-development'
createEffect(() => {
/*...*/
})
npm install solid-create-effect-development
It counts how many times the callback ran before the next microtask. If it did more than 1000 times then it displays an error with the string of the callback.
If the recursion is async(the next call comes after a microtask), then it wont be detected.