Post
to illustrate, here is the original code (prior to your changes) minimally refactored to use signals. It has the same performance characteristics as your improved version without requiring split components. (that said, I'd still 100% split the components as you did) carbon.now.sh?bg=rgba%2816...
I wish more people took the time to understand how signals being pull-heavy is an improvement over plain memoization. *useMemo:* compute all values and pass them directly into JSX *signals/computed:* create boxes that compute their values only when rendered and pass the boxes into JSX
6 reposts31 likes