Skip to content

Bug: Multi function calling after removing imparative handle #170

@BartJanvanAssen

Description

@BartJanvanAssen

Hi @break-stuff,

We notice some changes since this change update: a6d7cec

It seems we have a side affect that the onChange event on our custom element (our custom checkbox) now triggers 3 times. Some times it actually stacks.

I was playing a bit with the outcome of the generated react code:
If memoized the ref function it seems the normal behavior is back and the react component only triggers one time per click.
Image

Curious to know what you think :-) We are now rolling back to the previous version of the cem tools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions