Feature request: replace the regular `type` property in actions with a Symbol
theorlovsky opened this issue · 1 comments
theorlovsky commented
This would increase (1) stability and (2) security:
- there won't be a chance to collide with a user's
type
property, which may be present in props - assuming that any object with the
type
property is an action is not entirely correct, but if we'd use a Symbol, that would be totally safe
I could try and open a PR if you want me to.
theorlovsky commented
@cartant any thoughts?