Skip to main content

Jonny Buchanan

Member since Jul 13, 2015

Recent Blog Comments By Jonny Buchanan

  • You Don't Need To Use .bind( this ) When Using .forEach() Or .map() In ReactJS

    Posted on Jul 29, 2015 at 9:01 AM

    It's common practice to use ES6 arrow functions for iteration, which automatically get the same "this" as their containing scope and a have shorthand form which allows you to omit "return" if the body of the function is a single statement: https://gist.github.com/insin/1501f303... read more »

  • Rendering Large Datasets With AngularJS And ReactJS

    Posted on Jul 16, 2015 at 4:39 PM

    I've created a Mithril version of this example (making use of its newly-added component support) and put all the versions so far here so they're easy to flick through: https://insin.github.io/ui-lib-samples/large-datasets/... read more »

  • Rendering Large Datasets With AngularJS And ReactJS

    Posted on Jul 14, 2015 at 6:56 PM

    Here's a Riot version, too. Need to get someone with more Riot experience to vet it for best practices, though, the update() calls and the parent.parent stuff doesn't seem right to me. https://gist.github.com/insin/6c080fc215d421350418#file-index-html... read more »

  • Rendering Large Datasets With AngularJS And ReactJS

    Posted on Jul 13, 2015 at 10:01 AM

    I don't know if it's the "React Way", but I've been using React for about a year and a half and for the sake of comparison, this is how I would have written those components: https://gist.github.com/insin/a60531c03424fbfc872f#file-index-html-L78 One of the key differences is moving tha... 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