Vue.js adopts a one way data flow paradigm, which means the state always flows from the parent components to the child components. This is a great way of managing state, because it makes things predictable. Ultimately, the state needs to be shared between components. This article will explore ways in which parent/child components can share state and most importantly how child components can pass state back to their parents.
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.
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 by WebhookController, which can be easily extended to add support for other kinds of webhooks.