How can this incredibly simple piece of code lead to "Maximum call stack size exceeded" ? - SolidJS