Should I use createMemo always?
I had a similar question when I used React before.
What's downside of createMemo?
1 Reply
There are 2 reasons to use createMemo. 1. to avoid superfluous reactive updates, 2. to store previous values during intensive calculations.
Otherwise, you don't need to use it.
Instead, just use a function.