knexer / auto-puzzler

A simple game about writing code to assist in solving puzzles, built to learn React.
0 stars 0 forks source link

Pull model stuff out of React #4

Closed knexer closed 1 year ago

knexer commented 1 year ago

It's pretty obvious at this point why everybody uses some kind of state thing with React - it really doesn't like having model code hanging out in components, and the obvious alternatives all have tons of boilerplate and/or bad perf.

We're in Rome, so let's try using Valtio.