Skip to main content

Tom McKenzie

Member since Mar 23, 2016

Recent Blog Comments By Tom McKenzie

  • setState() State Mutation Operation May Be Synchronous In ReactJS

    Posted on Mar 23, 2016 at 12:39 AM

    The question is, whether there's a way to explicitly batch react setState calls? During known boundaries where we know plenty of work is to be done, for example. [goes away, 20 tabs later..] Yes: You can abuse the React.addons.batchedUpdates function. https://github.com/yahoo/fluxible-addons-reac... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel