Skip to content

ToDo notes

Chris Achenbach edited this page Feb 12, 2020 · 4 revisions

Main.jsx

  • This.state = This.initialstate

  • Make a Data Flow Diagram and figure out which components hold which state. There are currently a bunch of things thrown into the PlanetarySim component that don't need to be there. Such as "multiplier" which is only relevent to the MainView. The PlanetarySim component should ideally only care about making sure data gets sent to the right place. It collects inputs from the interfaces, and connects them up with the displays.
    See:
    https://reactjs.org/docs/thinking-in-react.html

  • Break apart all the junk in the render() section of PlanetarySim component. Make multiple components for each interface.

  • Create Wrappers that can replace the div surrounding the big components: MainView, ZodiacStrip, etc.
    See:
    https://reactjs.org/docs/composition-vs-inheritance.html

Index.html

  • Do we really need to be loading jquery???

  • CSS should be moved to a folder with .css files

MainView

  • Has some hilarious code in it.

Other

Clone this wiki locally