8000 Usage in `effect` causes infinite render loop · Issue #38 · tutkli/ngx-sonner · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Usage in effect causes infinite render loop #38
Open
@daveHylde

Description

@daveHylde

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
  • No

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0