logoalt Hacker News

uasi04/01/20251 replyview on HN

`events.push(...arr)` puts all arguments on the call stack before calling the method, which causes the error. Don't push tens of thousands of items at once.


Replies

tipiirai04/01/2025

If you're architecture is based on event sourcing, this is kind of the point

show 3 replies