Server function isn't called
I started learning router and start. In the following code,
login()
is only called, when the response is used afterwards (like in console.log(response)
). But when I remove console.log(response)
, login()
is not called anymore. Why is that?
2 Replies
afraid-scarlet•10mo ago
this probably caused by a bug in the dead code removal
I investigated a similar issue
can you please create a GitHub issue including a minimal example?
like-goldOP•10mo ago
Sure. Thanks for your response 🙂