Skip to content

[IMPROVEMENT] Reusable toast #1021

@diegolmello

Description

@diegolmello

In this PR we declared one toast whenever it's needed.
This is not scalable.

We should do it similar to what we've done on In-app notifications, where we set notifications element once and we use it in the whole stack.
We need to declare toast once and reuse the same instance in the whole app.

We shouldn't use forward ref for that.
We should use event emitter.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions