Closed OmerGronich closed 3 years ago
Hi @OmerGronich - thanks for following through with this. That's not good because it's a breaking change to the API. Is it possible to add the options as a second input?
Hi @OmerGronich - thanks for following through with this. That's not good because it's a breaking change to the API. Is it possible to add the options as a second input?
Yes I thought this would be a problem. I'll try to figure it out and submit another pull request soon.
Hi @OmerGronich - thanks for following through with this. That's not good because it's a breaking change to the API. Is it possible to add the options as a second input?
Fixed it so in the mobxReaction directive you can now pass a second parameter after the function, called options.
The mobxAutorun directive still accepts only one input
Let me know if this is ok