So where the article says
loading // true
setLoading(false)
loading // false
they mean that it will become false in the next invocation of the render function, I hope?