Created
November 15, 2021 23:32
-
-
Save jasonvarga/c09cccea6c9ebd49ab83dd6070cca465 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div x-if="$request('comments').loading"> | |
Loading... | |
</div> | |
<div x-if="$request('comments').errors"> | |
Errors... | |
</div> | |
<template | |
x-for="comment in $request('comments').fetch(`/posts/${currentPost}/comments`)" | |
:key="comment.id"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment