3 ms·
After hesitating with Tailwind I did come around to loving it, but I've had a much harder time getting over my initial impressions of Alpine. I recognize that o
by ducharmdev 5y ago
After hesitating with Tailwind I did come around to loving it, but I've had a much harder time getting over my initial impressions of Alpine. I recognize that one, it targets a very specific type of website, and two, it's easy to let subjective feelings about what makes for readable & maintainable code get in the way of an unbiased take on the framework. But writing JavaScript in strings is unappealing to me, even for server-side sites that just need some sprinkling.
Some questions that come to mind that would sway me one way or another:
- How is the tooling and debugging experience?
- Do you get intellisense with the VSCode extension within x-for, x-show, etc. expressions?
- Can you easily set breakpoints in devtools and step through your code?
- In reference to the issue below, how susceptible would I be to XSS attacks in using this framework?
https://github.com/alpinejs/alpine/issues/237#issue-576533416 https://github.com/alpinejs/alpine/issues/237#issue-57653341...
- stefanfisk 5y agoThe link seems to be dead, this was the most recent copy I could find: https://web.archive.org/web/20210529012746/https://github.com/alpinejs/alpine/issues/237 https://web.archive.org/web/20210529012746/https://github.co...
- ducharmdev 5y agoWeird, not sure why that happened - maybe it's just cached for me? But yeah that's the thread.
- stefanfisk 5y agoThis seems to be the reason https://github.com/alpinejs/alpine/discussions/1423 https://github.com/alpinejs/alpine/discussions/1423
- adamredwoods 5y agoAlso, I think conditional logic in HTML attributes is difficult to read. I just prefer having logic separate from html layout.