I’m a gopher by nature, so I expect consistent styling and linting in my codebases. More importantly, I don’t like to think about styling.
Caching images in React Native can be easy, even if you are using Expo’s managed workflow.
JavaScript’s built-in with statement specifies the default object for the given property and gives us a shorthand for writing long object references.
The built-in JavaScript map function returns a new array, where each element in the new array is the result of the corresponding element in the old array after being passed through a callback function.
There are many ways to traverse an array in Javascript. In this benchmark, we will look at five different ways and the pros and cons of each.
I’ve found that it’s pretty rare that I need recursion in application code, but every once in a while I need to write a function that operates on a tree of unknown depth, such as a JSON object, and that’s often best solved recursively.