Stub lifecycyle hooks in Vue

September 11, 2019    🕒 1 minute, 3 seconds

It's quite a common pattern to initialise a component in a created() or mounted() hook. The problem is that these hooks will execute every time a component is mounted as part of the tests and it may not be what you want.

Preload and replay sounds in Expo

May 07, 2019    🕒 1 minute, 59 seconds

Expo comes with an Audio API that provides basic sound playback and recording capabilities in React Native projects. It includes a lot of useful features, but at times can be tricky to work with because of its asynchronous nature. I collected a few bits of information that can help with setting up and playing audio in Expo. 🎛️

Next page