Removed 5376 lines of Typescript
Added 2513 lines of Kotlin
28% decrease in overall lines of code.
From 19 runtime dependencies to 2 -> alpinejs.dev and
htmx.org
Removed 5376 lines of Typescript
Added 2513 lines of Kotlin
28% decrease in overall lines of code.
From 19 runtime dependencies to 2 -> alpinejs.dev and
htmx.org
www.youtube.com/watch?v=Y7BZ...
www.youtube.com/watch?v=Y7BZ...
I'll do my best to post some videos from the Phlex course starting with "Why Phlex?" since the intro video is free. This one compares to ViewComponent if you're curious.
Follow along!
I'll do my best to post some videos from the Phlex course starting with "Why Phlex?" since the intro video is free. This one compares to ViewComponent if you're curious.
Follow along!
I think Literal touches that and I took a swing with Superview.
It feels like `#render_in` is half the interface.
I think Literal touches that and I took a swing with Superview.
It feels like `#render_in` is half the interface.
Here's the link for that: terminalwire.com/articles/sup...
Here's the link for that: terminalwire.com/articles/sup...
The slides themselves are a Rails app built entirely out of Phlex components, which is open-source BTW if you want to build your RailsConf deck this way.
The slides themselves are a Rails app built entirely out of Phlex components, which is open-source BTW if you want to build your RailsConf deck this way.
If you take the plunge, I suspect Phlex kits might be useful: github.com/phlex-ruby/p...
If somebody takes a swing at this and gets it working with ViewComponent, I'd be interested in merging it with Superview.
If you take the plunge, I suspect Phlex kits might be useful: github.com/phlex-ruby/p...
If somebody takes a swing at this and gets it working with ViewComponent, I'd be interested in merging it with Superview.
Pushing out this fix as I wonder why people still use Erb. 🤔
Thanks for pushing safe code examples that run. 🙏
Pushing out this fix as I wonder why people still use Erb. 🤔
Thanks for pushing safe code examples that run. 🙏
It's how you can use Phlex and ViewComponent classes as actions in your Rails controllers without a bunch of boilerplate.
I use Superview in several of my production applications, including @terminalwire.com.
✌️
It's how you can use Phlex and ViewComponent classes as actions in your Rails controllers without a bunch of boilerplate.
I use Superview in several of my production applications, including @terminalwire.com.
✌️
github.com/rubymonolith...
github.com/rubymonolith...
I think Configuration classes could benefit from this approach too.
Haven’t thought about much beyond that.
I think Configuration classes could benefit from this approach too.
Haven’t thought about much beyond that.
Follow the repo on Github and give it a star at github.com/rubymonolith... so you get updates when it lands.
Follow the repo on Github and give it a star at github.com/rubymonolith... so you get updates when it lands.
Should I troll ViewComponent and have the specs generate Phlex code? Should I keep `phlex` in `render phlex VCView` or change it to something neutral?
🤣🧌
Should I troll ViewComponent and have the specs generate Phlex code? Should I keep `phlex` in `render phlex VCView` or change it to something neutral?
🤣🧌
* Ruby on Rails
* Serbea templates (variant of ERB)
* ViewComponent
* Lifeform (declarative forms)
* Many custom elements (and Ruby-based SSR!)
* Sidekiq & Signals-based data flow
* 2FA & various email service […]
* Ruby on Rails
* Serbea templates (variant of ERB)
* ViewComponent
* Lifeform (declarative forms)
* Many custom elements (and Ruby-based SSR!)
* Sidekiq & Signals-based data flow
* 2FA & various email service […]
https://qian.cx/posts/CD78525F-EEFD-4BCE-AFBC-058405532826
https://qian.cx/posts/CD78525F-EEFD-4BCE-AFBC-058405532826
livecomponent.org
livecomponent.org
As I said, the advantage for me is unit testing
As I said, the advantage for me is unit testing