An inner template with x-for is rendered twice although it should be only run once #3466
Unanswered
thebeautyofcoding
asked this question in
5. Bugs
Replies: 2 comments 9 replies
-
Do you have multiple copies of Alpine? |
Beta Was this translation helpful? Give feedback.
9 replies
-
Fixed. In my case, I have imported the Alpine.js library twice: once in Livewire and once manually. So I just remove one. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am currently struggling a lot with the problem I described here:
https://stackoverflow.com/questions/75741373/laravel-alpinejs-expert-needed-for-strange-frontend-issue-a-nested-template-i
As you can see in the screenshots, sometimes the letterGroup, which is an array of letters (3 or 4) gets rendered twice. I get zero errors in the console and I am not seeing anything wrong with my AlpineJS Chrome extension. I am unable to grasp why this happens. I tried a lot of things for hours, but I keep getting this issue.
Thanks for the support :)
Beta Was this translation helpful? Give feedback.
All reactions