3 ms·
I just implemented a thing for work in very bare Phoenix Liveview. It integrates with Plaid. I definitely needed hooks and about 200 lines of JS to get it wor
by dnautics 6y ago
I just implemented a thing for work in very bare Phoenix Liveview. It integrates with Plaid. I definitely needed hooks and about 200 lines of JS to get it working. You can't completely kill JS, yet, unfortunately.
- innocentoldguy 6y agoWas it your integration with Plaid that required the 200 lines of JavaScript? I've spent the last year building out a web application for service providers to use to manage disaster recovery software for multiple clients using Elixir, Phoenix, LiveView, and TailwindCSS. We haven't used a single line of JavaScript code, including for the Tailwind components that typically rely on JavaScript to function. LiveView has been able to handle it all.
- dnautics 6y agoCorrect, it's entirely the plaid integration. Actually I cleaned up the code considerably since writing that statement and now it's about 100 lines. I wish I could have better integrated tests with the javascript, but considering, the live view suite of tests is really quite good.