This article explains terms as they’re used in the US, not globally.

Image for post
Image for post
Photo by Aviv Ben Or

We all want the same things in life. We want freedom; we want the chance for prosperity; we want as few people suffering as possible; we want healthy children; we want to have crime-free streets. The argument is how to achieve them…

Student News Daily

I didn’t grow up talking about politics with friends or learning why it matters in school, so as an adult I struggled to see how all these terms related to one another. …


Image for post
Image for post
Green pastures. Photo by Werner Sevenster.

This article assumes that you live in the U.S. See the end for the usual disclaimer.

Some countries have robust support systems that make planning for retirement simple or even wholly unnecessary. The U.S. is not one of those countries: In 2020, the average monthly Social Security benefit was only $1,503, which comes out to $18,036 per year (source).

Planning how to save for retirement is important, and it pays off in the long run, but it’s hard to know where to begin — and the more you procrastinate, the more opportunities for “free” money you miss out on.

Whether…


Image for post
Image for post
Two doors. Photo by Jacob Culp.

Many people have already explained the nitty-gritty differences between Redux and MobX in detail. I want to provide a more simple, straightforward, explicit example of each.

Both frameworks are popular and useful. Use this comparison to choose between them on your own. Each implements a simple “To-do list”, with comments to explain each key piece:

Here are some references to learn more:

If you found this useful, please help by tapping the 👏 button as many times as you’d like so others can find it too.


Image for post
Image for post

Yes, the one featured on Silicon Valley.

The MaidSafe team is reinventing the internet. The SAFE Network will replace corporate servers (like Facebook data centers) with a peer-to-peer network (like file torrenting) — where all of humanity’s data can be spread out and securely, privately backed up across everyone’s computers using spare storage space.

A working Alpha version is already available.

It was invented a couple of years before Bitcoin was announced, and it’s powered by a cryptocurrency called Safecoin that doesn’t use blockchains at all — so there are no scaling problems (websites and data actually get faster as…


I’ve been building large React apps since 2015, and over the years I’ve learned important lessons about what works and what doesn’t when structuring your apps.

First of all, throw out the Model View Controller nonsense you probably learned in school. That leads to nothing but pain.

Instead, consider organizing your apps by feature — give each feature ownership of all the files it needs to work independently. Every component should ideally be structured such that you could drag a single folder out of your app and ship it as its own separate npm package.

Keep in mind that everyone…


Image for post
Image for post
Trees and branches. Is this some sort of analogy? Photo by Liam Pozz.

Understanding Git (part 1) — Explain it Like I’m Five
Understanding Git (part 2) — Contributing to a Team
Understanding Git (part 3) — Resolving Conflicts (stay tuned!)

Practically every major software company and open-source project uses some type of “version control” to track changes over time. Version control can help you coordinate teamwork and hunt down software bugs.

Git is one of the most popular version control systems today. See part 1 of this series for an “Explain it Like I’m Five” intro if you’re not already familiar.

This guide covers how to use git to contribute to…


Image for post
Image for post
A confusing mess of branches. Photo by Brandon Green.

Understanding Git (part 1) — Explain it Like I’m Five
Understanding Git (part 2) — Contributing to a Team
Understanding Git (part 3) — Resolving Conflicts (stay tuned!)

Git is a powerful tool, but it has a reputation of baffling newcomers. It doesn’t help that most people are simply thrown in at the deep end and expected to swim.

With the right knowledge, anyone can master git. Once you start to understand it, the terminology will make more sense and you’ll (eventually) learn to love it. Stay strong 🙏

Why another guide?

There are plenty of “git tutorials” out there already, but…


Including: How to migrate from ListView (soon to be deprecated), and how to try it in your own app without building React Native from source.

Image for post
Image for post
The demo video posted on Facebook by Ahrens. Image link goes to YouTube.

Update 4: It’s stable enough now to be exported by default from react-native-immutable-list-view with React Native v0.43. No custom downloads needed! Keep reading for easy migration steps.

Update 3: It’s no longer experimental as of March 1. Everything below is still up-to-date and accurate.

Update 2: There are now multiple new components: FlatList, SectionList, VirtualizedList, and VirtualizedSectionList. Their locations have moved several times, but the links below should be up-to-date.

Update 1: The original ListView


ImmutableJS (by Facebook) is a great library with a friendly API, based on a lot of good functional programming concepts. It helps improve both the efficiency and readability of your code.

Unfortunately, React Native’s ListView doesn’t support Immutable data out of the box — it’s up to the user to create wrappers and handle state changes on their own if they want to use the two together. It’s possible, but it’s not simple.

To solve this problem, I wrote a drop-in replacement (really just a simple adapter) that handles creating an efficient dataSource behind the scenes — all you need…

Kevin Cooper

Improv comedy. Social justice. Ethical technology. Software consultant.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store