How to use react.js with alpine.js? #4282
-
Hi i use react.js, how to use alpine.js in react.js? I use vite + react |
Beta Was this translation helpful? Give feedback.
Answered by
ekwoka
Jul 1, 2024
Replies: 2 comments
-
Notice: i use typescript |
Beta Was this translation helpful? Give feedback.
0 replies
-
You don't. There is no reason whatsoever to do that. Both React and Alpine are UI frameworks for handling reactive data binding. There is no reason you would ever use both together like that. Why do you think you want to use Alpine in React? |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Thecode764
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You don't.
There is no reason whatsoever to do that.
Both React and Alpine are UI frameworks for handling reactive data binding.
There is no reason you would ever use both together like that.
Why do you think you want to use Alpine in React?