Ryan SperzelRedux Selector Functions and Reselect Library BasicsLet’s pretend we have an React/Redux application to book seats on a flight. Each seat is an object that looks something like this:Jan 23, 20181Jan 23, 20181
Ryan SperzelMemoization Pt 2: The Famous Fibonacci FunctionThis article works through an example to build on the memoization concept covered in my last blog post. If you’re unfamiliar with…Jan 15, 20181Jan 15, 20181
Ryan SperzelMemoization Explained, Using JavaScriptI think every programmer has heard this word before and been like, “memorization”? Memoization isn’t quite that, but it’s actually very…Jan 7, 2018Jan 7, 2018
Ryan SperzelRedux’s Connect function and areStatesEqual OptionThus far, I’ve been using Redux’s connect function with two arguments — mapStateToProps and mapDispatchToProps. In my latest project, it…Dec 30, 20171Dec 30, 20171
Ryan SperzelDownloading in HTML5Being a developer means that you can, and will, run into a problem and have literally not even the first clue how to solve it — oftentimes…Dec 25, 2017Dec 25, 2017
Ryan SperzelPracticing Loops and ClosuresI was perusing through some Javascript challenge problems when I came across one that threw me for a bit of a — wait for it — loopNov 6, 2017Nov 6, 2017
Ryan SperzelJavaScript Errors and How to Catch ThemThree types of errors exist in programming:Oct 16, 2017Oct 16, 2017
Ryan SperzelRuby’s % ShortcutThe % in Ruby can be more than just a modulo. It is often used as a shortcut when called with an argument to create arrays, strings, and…Sep 25, 2017Sep 25, 2017
Ryan SperzelIteration with an Ampersand in RubyMost of us are familiar with iteration syntax in Ruby. A method (map for example) is called on an object and passed a block.Sep 11, 2017Sep 11, 2017