You are ising the render node and not the render function. The node is deprecated