JKJakub Koniecznyinjkonieczny.hashnode.dev·Jan 28, 2025 · 18 min readEarth is flat. Locally. And globally (in a way)No, it’s not about any conspiracy theory about Earth being flat, but just how it is made, that we see flat maps of our globe. The challenge is that if the Earth is not flat, paper and screens are. How should we accurately store coordinates?" Through ...00
JKJakub Koniecznyinjkonieczny.hashnode.dev·Mar 11, 2024 · 9 min readVue's reactivity is a trapVue's reactivity is awesome, but it has a "little" drawback: it messes up with the references. Things that should work, that TypeScript says is fine, suddenly isn't fine. I won't even talk about nested Refs with enforced typing, it's complete chaos y...00
JKJakub Koniecznyinjkonieczny.hashnode.dev·Feb 1, 2024 · 8 min readVue's new `defineModel`It was available as a macro for some time, experimental in 3.3, and now stable in 3.4. An amazing feature that shortens your code a lot and prevents you from having to think of a name used inside the component for the Ref proxy made with useVModel or...00
JKJakub Koniecznyinjkonieczny.hashnode.dev·Dec 4, 2023 · 9 min readEvent Bus with Vue 3 and TypeScriptVue 3 removed the beloved Event Bus used in Vue 2, but nothing is lost! Vue's internal Event Bus became obsolete and unnecessary in the Vue itself. It was quite useful, especially before we got provide/inject. It allowed communication between compone...00
JKJakub Koniecznyinjkonieczny.hashnode.dev·Nov 3, 2023 · 12 min readThe declarative approach in Vue 3What does "declarative" mean? "Declarative" means that we declare what results we want to achieve, not how. Of course, we still need to implement how it should happen, but we separate those two things: we separately define the state and define what c...00