Joel Drapper · @joeldrapper
1288 followers · 2595 posts · Server ruby.social

I decided to set up a Discord for my OSS projects. Come join me if you want to get involved with , Literal, GreenDots. discord.gg/CN5JYpxJUE

#phlex

Last updated 1 year ago

Michael Josephson · @michael
7 followers · 17 posts · Server ruby.social

For folks using , does anyone using Phlex for components but still use plain ERB for their main views?

Thinking of trying this approach on a project for some Tailwind UI components.

#phlex

Last updated 1 year ago

Bradley Schaefer · @soulcutter
274 followers · 976 posts · Server ruby.social

My Phlex talk at the Cleveland Ruby meetup last night went great!

Amazingly I just about hit my target time of 30 minutes. I found a rough spot in the talk to smooth out, and I’m looking forward to sharing it at Columbus Ruby on Monday!

#ruby #phlex

Last updated 1 year ago

Bradley Schaefer · @soulcutter
270 followers · 963 posts · Server ruby.social

Working on the Phlex talk I'm giving this upcoming week, and I'm up to 30 slides and a short live coding segment and also a walkthrough-code-in-an-editor.

I will have to practice it the next couple days to find out if I can fit this into 30 minutes. 😓 I might have to trim some stuff.

:ruby:

#ruby #phlex

Last updated 1 year ago

Roli on Rails · @roli
10 followers · 7 posts · Server ruby.social

Ever since using the elegance and simplicity of I have been wondering, if I can't reach some of that expressiveness with : rstuder.ch/2023-calling-view-c

#phlex #ViewComponent

Last updated 1 year ago

Stephann V. · @ste
15 followers · 86 posts · Server ruby.social

@joeldrapper Is there any reason to leave Phlex::Translation aside? I can't find anything about it on Phlex website.

I got this error when I was using `helpers.t(".some_key")` on a new project. So I had to install phlex-translation gem and include Phlex::Translation module. And method alias is missing too 😭 .

#t #phlex

Last updated 1 year ago

Nicolas Buduroi · @budu
23 followers · 84 posts · Server ruby.social

#rails #phlex

Last updated 1 year ago

Joel Drapper :whyfox: · @joeldrapper
1160 followers · 1945 posts · Server ruby.social

If I do say so myself, I think this interface is pretty neat for conditional HTML attribute tokens (e.g. HTML classes) in Ruby.

#phlex

Last updated 1 year ago

Paweł Świątkowski · @katafrakt
213 followers · 410 posts · Server ruby.social

Nice. The post about is the first one in today's Ruby Weekly.

#phlex

Last updated 1 year ago

Joel Drapper :whyfox: · @joeldrapper
1147 followers · 1917 posts · Server ruby.social

I just released phlex-rails 1.0. We’ve been running it in production at Clearscope (with about 245 components) for a number of months now and I think it’s ready.

#phlex

Last updated 1 year ago

Joel Drapper :whyfox: · @joeldrapper
1143 followers · 1896 posts · Server ruby.social

I recently joined @DRBragg on Code and the Coding Coders who Code it to discuss upcoming streaming features in . This is one of my favourite podcasts — please consider subscribing. Drew has done some amazing interviews over the last few months. overcast.fm/+3Nc3Zh0kU

#phlex

Last updated 1 year ago

Joel Drapper :whyfox: · @joeldrapper
1143 followers · 1895 posts · Server ruby.social

Fly published an article on component-driven Rails development with fly.io/ruby-dispatch/component

#phlex

Last updated 1 year ago

Michael Toulouse · @MichaelT
124 followers · 1209 posts · Server ruby.social

@joeldrapper Could a step be missing from the installation documented at phlex.fun/rails/ ? It breaks for me when I try to run 'bin/rails generate phlex:install' ... I get the error message 'Could not find generator 'phlex:install'. Maybe you meant "rspec:install"?'

#phlex

Last updated 1 year ago

Collin Donnell · @collin
1259 followers · 2417 posts · Server ruby.social

Experimenting more with , since I will be using it at work soon, and the more I use it, the more I like it. What is really interesting to me is not just the ability to write HTML in Ruby — which is cool by itself — but that it's such a good base to potentially build higher level abstractions on top of.

#phlex

Last updated 1 year ago

Ada 🏳️‍⚧️ · @ada_shen
154 followers · 1287 posts · Server hachyderm.io
Peter Phillips · @peterphillips
15 followers · 60 posts · Server ruby.social

Finally checking out ! I started with a simple NavButton component. Pairing it with the ActiveModel API works really nice.
I think replacing your view code “inside-out" is the way to go, ie. starting as small as you can, and gradually working out to larger partials and views.

#phlex

Last updated 1 year ago

Joel Drapper :whyfox: · @joeldrapper
1096 followers · 1810 posts · Server ruby.social

I’m excited to welcome @willcosgrove to the maintainers team. 🎉

#phlex

Last updated 1 year ago

postmodern · @postmodern
1206 followers · 1329 posts · Server ruby.social

Which Ruby templating engine do you think (or know) would be more accessible to new Rubyists or drive-by contributors?

#ruby #erb #haml #slim #phlex

Last updated 1 year ago

postmodern · @postmodern
1205 followers · 1323 posts · Server ruby.social

I also don't suppose you can use phlex with sinatra? Trying to benchmark various templating engines.

#phlex

Last updated 1 year ago

Michael Toulouse · @MichaelT
122 followers · 1158 posts · Server ruby.social

@joeldrapper It's reassuring to know that the migration to can be gradual. I have a couple of user interfaces that I might port over to it.

#phlex

Last updated 1 year ago