The "nextCreate is not a function"
error is thrown when you’re not passing a function as a useMemo()
argument.
For example, useMemo(123, [])
will throw and useMemo(() => 123, [])
won’t.
The "nextCreate is not a function"
error is thrown when you’re not passing a function as a useMemo()
argument.
For example, useMemo(123, [])
will throw and useMemo(() => 123, [])
won’t.