Open ralphievolt opened 7 years ago
maybe try
effects.readBarcode(barcode).then( () => console.log(state.indibar))
Hi @ralphievolt, it looks like you're invoking your event handler immediately. Do things work differently if you pass _handleSearching
vs _handleSearching()
?
I have read some of the issues posted here but can't seems to understand it clearly so I decided to create it myself. Here's my code
Current state value will appear here and will update each form submission
However getting the state a value is behind like this doing a console.log
My state wrapper
Thanks