https://github.com/fac-12/Lex/blob/3f591db5c8a96556abc357c622929633afc5adf3/src/components/App.js#L49
Generally it's clearest if the actual render is the last method in the class since that is the derived result of all the data wrangling and state changing. Also, you're calling renderInside in render so it should be defined before.