In React, where do I keep my variables and functions. I had been keeping them before the render & return statements (in/at the top of the class) but from what I've seen from others, this does not seem right. My guess is that they should be kept within the render method but above the return method, which is where you html goes.
On another, somewhat related note, are constructors still necessary in React or are they implicit.
I also understand that state should be kept out of the parent component for the most part as one small change will cause a re-render of all child components, which is obviously not desired.
Any help with these would be awesome. First question is definitely of most importance to me.