Okay let me preface this with I have a working version of this project I made, but I wanted to separate out the components.
I did that and now the new version of the board runs but I cannot seem to set the state.currentView without doing so infinitly.
Right now the code is commented out here; https://gitlab.com/jacebenson/jacebenson.gitlab.io/blob/master/projects/react/leader/src/components/app.js#L35
If this is uncommented my browser locks up and I don’t understand why.
I was following this guide on youtube https://youtu.be/u7hnOhwiydU?list=PLtwj5TTsiP7shy3ollmS_LmQk-Ct_wRSF&t=157
I’m kind of at a loss at how to fix this. Please help me fix this.