How do I access refs within different methods of one component? As the example below, I am trying to access a node through a reference within a method, not the render()
render()