State management in Vue.js

January 20, 2018    🕒 4 minutes, 4 seconds

Vue.js adopts a one-way data flow model, which means that state always flows from the parent components to the child components and is usually passed via props. This is a great way of managing state, because it makes things predictable. Ultimately, state needs to be shared between components. This post will explore ways in which parent and child components can share state and most importantly how child components can pass state back to their parents.

Two ways of testing Vue.js components

June 20, 2017    🕒 1 minute, 20 seconds

I've been working more with Vue.js lately and got familiar with two slightly different ways of testing Vue.js components.

The power of lists and maps in SASS

July 07, 2016    🕒 2 minutes, 54 seconds

If you find yourself repeating a lot of similar rules when writing stylesheets or your needs go beyond simple variables think of lists and maps. I just discovered how useful lists and maps can be and therefore share a few examples.

Handling Braintree webhooks in Laravel Cashier

June 14, 2016    🕒 1 minute, 42 seconds

Laravel Cashier is already handling Braintree's 'subscription_canceled' and 'subscription_expired' webhooks and will cancel a subscription when any of those webhooks get triggered. The webhooks are handled in WebhookController, which can be easily extended to add support for other kinds of webhooks.

Previous page Next page