The fetch method within the render prop shadows globalScope.fetch, which isn't ideal. Although it is nice that it has the same name, it could potentially cause confusion in certain situations.
One idea would be to rename it so as to avoid this problem.
Just a thought. No worries if you're satisfied with the current name :v:
The
fetch
method within the render prop shadowsglobalScope.fetch
, which isn't ideal. Although it is nice that it has the same name, it could potentially cause confusion in certain situations.One idea would be to rename it so as to avoid this problem.
Just a thought. No worries if you're satisfied with the current name :v:
Thanks for reading!