ngx-sonner
ngx-sonner copied to clipboard
Usage in `effect` causes infinite render loop
Please provide the environment you discovered this bug in.
Sonner: 3.1.0 Angular: 20 Firefox Linux
Description
This will start an infinite loop. Would love to be able to use toasts in signal based logic. 😃
effect(() => {
toast.info('hi');
});
P.s. great job! Love the library!
Please provide the exception or error you saw
Other information
No response
I would be willing to submit a PR to fix this issue
- [ ] Yes
- [x] No