S
SolidJS8mo ago
lord

Maximum call stack size exceeded

Attached my code, but it seems like everytime I input a csv file, I get this maximum call stack size exceeded error, but not sure what I'm doing wrong.. any help is appreciated!
5 Replies
REEEEE
REEEEE8mo ago
there's an infinite loop in your createEffect because you're reading and writing to baseSegmentMapping in the effect
lord
lordOP8mo ago
damn whats a way to fix this? like i only want to let it rerender based on the csvHeader
REEEEE
REEEEE8mo ago
2 solutions 1. untrack 2. on
lord
lordOP8mo ago
oh wait ignore me i just extracted the read part out thanks!
REEEEE
REEEEE8mo ago
np
Want results from more Discord servers?
Add your server