In this lesson, we will learn how to use provide()
and inject()
in Vue.js to avoid prop drilling and make our store compatible with server-side rendering (SSR). This will allow us to finish our store implementation and make it (almost!) production-ready.
🧑💻 We will use this Vue.js SFC Playground to practice some concepts.
You can find the final solution here