70: Jeffrey Way - Vue.js Tactics for Server-Side Web Apps
In this episode, Adam is joined by Jeffrey Way of Laracasts to share some tips and tricks for using Vue.js elegantly with traditional server-side web apps.
Topics include:
- General project structure
- Dealing with initial load flicker
- Sharing routes between Vue and your server
- Handling authorization rules on the client
- Comparing strategies for getting data into your Vue components
- Best practices for sharing state between sibling components
- Signs you should extract a child component
- Using Vue to wrap up third-party libraries
- Rollbar, sign up at https://rollbar.com/fullstackradio to try their Bootstrap Plan free for 90 days
- Codeship
- Vue.js
- All Vue.js lessons on Laracasts
- Ziggy, package for sharing routes between Laravel and Vue
- Promise.takeAtLeast, helper Adam uses to slow down fast AJAX calls
- Custom Events in Vue
- Vuex, state management library for Vue
- Turbolinks
- Simple State Management, from the Vue documentation