Skip to content

Watermark rendering is not reactive #515

@trombipeti

Description

@trombipeti

Describe the bug
The watermark component is only rendered once and doesn't get rerendered even if the state that it uses gets updated.

To Reproduce
https://codesandbox.io/p/sandbox/sad-sound-3d4mt6

Steps to reproduce the behavior:

  1. Click the "Click me" button

Expected behavior
The value in the watermark gets updated and matches the one above it.

Actual behavior
The content of the watermark stays intact.

Additional context
I want to have a localized text in the watermark that should change when the user changes the app language.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions