Everyone you meet always asks if you have a career, are married or own a house; as if life was some kind of grocery list. But nobody ever asks if you are happy. - Heath Ledger
🗜️ Compressing images before upload.
Instead of bothering your visitors with image requirements, compress them with JavaScript.
Quick read on using <canvas> to compress images and DataTransfer to save images back to the file input from whence they came.
https://t.co/lqDMeN76SZ
⚛️ Here's a fun React tip: `useReducer` is a better `useState`, and it's easier to adopt than you may think.
Group related values together and spread them in the reducer. Then, updating is just:
updateThing({ prop: newValue })
And there's even more benefits to `useReducer`...
Let me get this straight: you *want* governments and corporations to more tightly control the flow of information? Because someone said something problematic?
All over the world, people are making the same mistake.