MiguelCastillo / scenic

Scene graph
MIT License
4 stars 0 forks source link

Migrated all selectedView state to hooks #20

Closed MiguelCastillo closed 2 years ago

MiguelCastillo commented 2 years ago

The scene editor has a lot of panels with tabbed panel semantics. We kept selectedView in the component state but that had a lot of boilerplate code for setting things up. Moving that to just using useState hook cleans things up significantly.

https://github.com/MiguelCastillo/scenic/issues/19