(no title)
tmitchel2 | 1 year ago
The only minor complaint is that the wires / nets / traces are also components themselves. JSX can only build tree structures but wires turn circuits into graphs, so for those I would have used plain js classes or hooks like useWire and then pass the + and - into the components. That gives you the added benefit of warning when you haven't wired up a component fully. Also allows for required and optional wire inputs on components.
seveibar|1 year ago
clord|1 year ago
tmitchel2|1 year ago