Someone was asking me about comparing the HoC and Render Props patterns (and their shortcomings) to hooks. I might leave this up as a public gist for others if it's helpful.
tldr;
Issues with HoC:
#!/usr/bin/env zsh | |
# | |
# # About | |
# | |
# Since APFS supports de-duplication on block-level, it can be useful to | |
# manually de-duplicate your files if you've migrated/upgrade to APFS not | |
# using a fresh install. | |
# | |
# I've written this simple script with the aim to: | |
# - Be simple, easy to read and understand (for users to check) |
rsync (Everyone seems to like -z, but it is much slower for me)