How to protect state in Pinia 🍍
Pinia, unlike Vuex, allows the state to be mutated directly, but sometimes we want to protect the state from being changed willy-nilly.
I write articles about frontend development, careers in tech, my experiences and more. All articles are my own writing.
Pinia, unlike Vuex, allows the state to be mutated directly, but sometimes we want to protect the state from being changed willy-nilly.
When it comes to accessibility, putting a click event on a div is taboo, but when is it okay to do so?
If like me, you own a blog, you may ask yourself if it's ever a good idea to clean it out from time to time.
The hover CSS media feature can be used to test whether the user's primary input mechanism can hover over elements.
The awesome design trend that never took off! What are the fundamentals to neumorphic design?