We can also use Inertia's Link component to perform non-GET requests. For example, what if we want to render a button that submits a POST request to log the user out. How might we do that, when using the Link component?
Watch this full series, track your progress, and participate in a massive Laravel community at Laracasts.
Laracasts: https://laracasts.com
Build Modern Laravel Apps Using Inertia.js: https://laracasts.com/series/build-mo...
Laracasts Twitter: / laracasts
Jeffrey Way Twitter: / jeffrey_way