"The method 'call' was called on null" error when dispatch component action
Closed this issue · 5 comments
uzuki-P commented
I have LoginPage
that have InputFieldComponent
dependencies.
This is the PassInputConnector
On InputFieldComponent
there's an IconButton
that dispatch
an action
this action just call a simple reducer
that flip a bool state (enable/disable obscureText)
The Problem
When I press the IconButton
, I got this error.
Am I using the wrong connector? Or there's something that I miss?
wangemng commented
我也遇到这个问题了 新建的 component 调用 dispatch 使用本类的 action 就报这个错误 怎么解决呀?
wangemng commented
你解决了吗?
wangemng commented
loginstate 管理?
uzuki-P commented
I didn't use fish-redux and go full Bloc
I didn't understand any chinese language so it's really hard for me to search for error. So I decided to change my state management instead.