While snapshot testing has been around for a while in the form of visual snapshots (used in visual regression testing), it's clear that the introduction of textual snapshots in Jest a few years ago had a big impact on testing, not only in Javascript but in other languages as well. But looking back on what it brought me a few years later I feel rather failed by snapshots. And while most of the blam...
I’ve recently worked on a Vue application after working for a long time with React, and more particularly with React and Typescript. While I felt right at home in Vue 3’s Composition API given how similar it feels to React Hooks, I did miss the ability to easily use Typescript purely for props validation... or so I thought.
Options API versus Composition API
Now I’ve known for quite some time th...
While snapshot testing has been around for a while in the form of visual snapshots (used in visual regression testing), it's clear that the introduction of textual snapshots in Jest a few years ago had a big impact on testing, not only in Javascript but in other languages as well. But looking back on what it brought me a few years later I feel rather failed by snapshots. And while most of the blam...
I’ve recently worked on a Vue application after working for a long time with React, and more particularly with React and Typescript. While I felt right at home in Vue 3’s Composition API given how similar it feels to React Hooks, I did miss the ability to easily use Typescript purely for props validation... or so I thought.
Options API versus Composition API
Now I’ve known for quite some time th...