You may wanna check this package out. It covers both Flux and Redux patterns.
One of the most helpful threads/conversions/dialogues Iāve ever read about Meteor.
To OP: Your post did more to address my concerns about the churn rate of the NodeJS ecosystem and how thatās creeping into Meteor than any whining post from a frustrated developer, or any cloak-and-dagger statement from MDG.
Thank you!
Redux has definitely made my life easier, if only for the great redux-forms which makes forms a breeze. Watching upcoming tools and understand what they solve is important. Donāt go blindly learning a tool if you donāt know why you would need it.
You shouldnāt really be using jQuery with React though. You can use jQuery but itās far from recommended, since React likes to take full control of the DOM.
Youād be better off with this markup:
<input id="my-input" type="text" name="myInput" onChange={this._onChange} />
and this JS:
event.target.myInput.value;
Iām in the middle of evaluating Redux, but for awhile now, this is exactly how Iāve used the āFluxā pattern. The mechanics described above is pretty much implemented in this package (but there are others): https://atmospherejs.com/woody/flux
I trigger events during some of my automated testing. Like I said, I fixed it by making my testing framework smart enough to do it their way if itās a react component Iām testing, but itās annoying that it didnāt just work.
Oh, I seeā¦ I mis-read and thought you needed to do that in production. Iāve had really good luck with webdriver based tools like Chimp or Capybara. Iāve tinkered a bit with the React test utils but theyāre pretty low level.