intendednull / yewdux

Ergonomic state management for Yew applications
https://intendednull.github.io/yewdux/
Apache License 2.0
322 stars 31 forks source link

derive Debug for Dispatch and DispatchProps? #12

Closed futursolo closed 3 years ago

futursolo commented 3 years ago

Currently, Dispatch and DispatchProps does not implement Debug, which makes any component that contains these structs as fields to be unable to #[derive(Debug)]. Making it more difficult to debug these components.

Would it be possible to implement Debug for Dispatch and DispatchProps when STORE also implements Debug?

intendednull commented 3 years ago

Sure no problem! I'm surprised we nobody caught this sooner