Derived value in event handler causing router error
Error: Make sure your app is wrapped in a <Router /> when calling an eventhandler. Just trying to log a derived signal/prop in my
The second
buy function. The values from product() get printed correctly in my DOMThe second
console.log works fine. But the first throws 