Why is init running twice #2056
Answered
by
argonzalez2016
argonzalez2016
asked this question in
1. Help
-
I am using Alpine.data() to load a function. Why is init running twice?
Blade file
i am seeing 'this was run' two times in the console and this is causing an error with data tables. Why is init running twice? |
Beta Was this translation helpful? Give feedback.
Answered by
argonzalez2016
Sep 13, 2021
Replies: 1 comment 2 replies
-
Init only runs twice when this.table = $(this.$el).DataTable(optionss); is run. It doesnt run twice when that line is removed. What could be the cause? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
argonzalez2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Init only runs twice when this.table = $(this.$el).DataTable(optionss); is run.
It doesnt run twice when that line is removed. What could be the cause?