Skip to content

UseStateHandle does not implement PartialEq so can't be used as a prop field #2091

@mc1098

Description

@mc1098

Problem

Steps To Reproduce
Steps to reproduce the behavior:
Try to use UseStateHandle<T> as a field in a Properties struct - regardless of whether T: PartialEq it will complain that UseStateHandle doesn't implement PartialEq.

Expected behavior
At minimum if T: PartialEq then so should UseStateHandle<T>, however I think we could implement PartialEq even
when T is not PartialEq.

Environment:

  • Yew version: master

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-yewArea: The main yew cratebug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions