#viewcomponent — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #viewcomponent, aggregated by home.social.
-
If you’re using ViewComponents, I’ve submitted a PR to support their instrumentation in Datadog
https://github.com/practical-computer/datadog-contrib-view_component
-
If you’re using ViewComponents, I’ve submitted a PR to support their instrumentation in Datadog
https://github.com/practical-computer/datadog-contrib-view_component
-
If you’re using ViewComponents, I’ve submitted a PR to support their instrumentation in Datadog
https://github.com/practical-computer/datadog-contrib-view_component
-
If you’re using ViewComponents, I’ve submitted a PR to support their instrumentation in Datadog
https://github.com/practical-computer/datadog-contrib-view_component
-
If you’re using ViewComponents, I’ve submitted a PR to support their instrumentation in Datadog
https://github.com/practical-computer/datadog-contrib-view_component
-
I’ve wanted more compact syntax for rendering #ViewComponent in #Rails and finally got around to making a proof-of-concept.
Before:
<%= render Admin::HeadingComponent.new(“Hi”) %>After:
<%= c.heading “Hi” %>Inspired by the `tag.strong “Hi”` Rails tag proxy.
Curious if others do anything similar!
https://gist.github.com/henrik/d053195e891b08e13c35338a82927f0a
-
I’ve wanted more compact syntax for rendering #ViewComponent in #Rails and finally got around to making a proof-of-concept.
Before:
<%= render Admin::HeadingComponent.new(“Hi”) %>After:
<%= c.heading “Hi” %>Inspired by the `tag.strong “Hi”` Rails tag proxy.
Curious if others do anything similar!
https://gist.github.com/henrik/d053195e891b08e13c35338a82927f0a
-
I’ve wanted more compact syntax for rendering #ViewComponent in #Rails and finally got around to making a proof-of-concept.
Before:
<%= render Admin::HeadingComponent.new(“Hi”) %>After:
<%= c.heading “Hi” %>Inspired by the `tag.strong “Hi”` Rails tag proxy.
Curious if others do anything similar!
https://gist.github.com/henrik/d053195e891b08e13c35338a82927f0a
-
I’ve wanted more compact syntax for rendering #ViewComponent in #Rails and finally got around to making a proof-of-concept.
Before:
<%= render Admin::HeadingComponent.new(“Hi”) %>After:
<%= c.heading “Hi” %>Inspired by the `tag.strong “Hi”` Rails tag proxy.
Curious if others do anything similar!
https://gist.github.com/henrik/d053195e891b08e13c35338a82927f0a
-
I’ve wanted more compact syntax for rendering #ViewComponent in #Rails and finally got around to making a proof-of-concept.
Before:
<%= render Admin::HeadingComponent.new(“Hi”) %>After:
<%= c.heading “Hi” %>Inspired by the `tag.strong “Hi”` Rails tag proxy.
Curious if others do anything similar!
https://gist.github.com/henrik/d053195e891b08e13c35338a82927f0a
-
ViewComponents reduce bloat, simplify data, and create reusable consistent frontend styling. Despite these benefits, they're often under-utilized in the Rails community. I've written a blog post outlining an overview of how they work by refactoring a real-world example into isolated ViewComponents.
💎 Check it out 💎
https://joshfrankel.me/blog/viewcomponents-the-missing-view-layer-for-rails/
-
ViewComponents reduce bloat, simplify data, and create reusable consistent frontend styling. Despite these benefits, they're often under-utilized in the Rails community. I've written a blog post outlining an overview of how they work by refactoring a real-world example into isolated ViewComponents.
💎 Check it out 💎
https://joshfrankel.me/blog/viewcomponents-the-missing-view-layer-for-rails/
-
ViewComponents reduce bloat, simplify data, and create reusable consistent frontend styling. Despite these benefits, they're often under-utilized in the Rails community. I've written a blog post outlining an overview of how they work by refactoring a real-world example into isolated ViewComponents.
💎 Check it out 💎
https://joshfrankel.me/blog/viewcomponents-the-missing-view-layer-for-rails/
-
ViewComponents reduce bloat, simplify data, and create reusable consistent frontend styling. Despite these benefits, they're often under-utilized in the Rails community. I've written a blog post outlining an overview of how they work by refactoring a real-world example into isolated ViewComponents.
💎 Check it out 💎
https://joshfrankel.me/blog/viewcomponents-the-missing-view-layer-for-rails/
-
🤔 random thought—does DHH's recent "system tests are dead" proclamation open the door to ViewComponents (or Phlex, or ?) being stock Rails features? I like ViewComponents because I can test UI things without the browser overhead—even if I only use a component once in my whole app. #RubyOnRails #RSpec #ViewComponent #phlex
-
🤔 random thought—does DHH's recent "system tests are dead" proclamation open the door to ViewComponents (or Phlex, or ?) being stock Rails features? I like ViewComponents because I can test UI things without the browser overhead—even if I only use a component once in my whole app. #RubyOnRails #RSpec #ViewComponent #phlex
-
🤔 random thought—does DHH's recent "system tests are dead" proclamation open the door to ViewComponents (or Phlex, or ?) being stock Rails features? I like ViewComponents because I can test UI things without the browser overhead—even if I only use a component once in my whole app. #RubyOnRails #RSpec #ViewComponent #phlex
-
🤔 random thought—does DHH's recent "system tests are dead" proclamation open the door to ViewComponents (or Phlex, or ?) being stock Rails features? I like ViewComponents because I can test UI things without the browser overhead—even if I only use a component once in my whole app. #RubyOnRails #RSpec #ViewComponent #phlex
-
🤔 random thought—does DHH's recent "system tests are dead" proclamation open the door to ViewComponents (or Phlex, or ?) being stock Rails features? I like ViewComponents because I can test UI things without the browser overhead—even if I only use a component once in my whole app. #RubyOnRails #RSpec #ViewComponent #phlex
-
TIL how to capture all the output of a block when doing your own slot like API for #ViewComponent
The trick is to use `viewcontext.capture(data_to_yield, &some_block)`
https://github.com/RolandStuder/til/blob/master/view_component/capture_a_block.md
-
Ever since using the elegance and simplicity of #Phlex I have been wondering, if I can't reach some of that expressiveness with #ViewComponent : https://rstuder.ch/2023-calling-view-component-instance-methods/
-
Thoughts on having ActiveRecord queries within a ViewComponent? I've got a sidebar component that's used in several controllers, but not the whole app, and need to load some data for it. I feel like I'm re-inventing React "smart" vs "dumb" components... #ruby #viewcomponent
-
Thoughts on having ActiveRecord queries within a ViewComponent? I've got a sidebar component that's used in several controllers, but not the whole app, and need to load some data for it. I feel like I'm re-inventing React "smart" vs "dumb" components... #ruby #viewcomponent
-
Thoughts on having ActiveRecord queries within a ViewComponent? I've got a sidebar component that's used in several controllers, but not the whole app, and need to load some data for it. I feel like I'm re-inventing React "smart" vs "dumb" components... #ruby #viewcomponent
-
Thoughts on having ActiveRecord queries within a ViewComponent? I've got a sidebar component that's used in several controllers, but not the whole app, and need to load some data for it. I feel like I'm re-inventing React "smart" vs "dumb" components... #ruby #viewcomponent
-
Suchst Du frische Impulse für deine #Ruby Projekte? ☕ Unser #Tech Kafi am 12. Juni ist die Lösung! Lerne, mit Rails #ViewComponent deinen Code besser zu strukturieren 🛠️. Triff Gleichgesinnte in Bern 🏢 oder online 💻. #Community 🚀
https://www.puzzle.ch/de/blog/articles/2023/06/06/tech-kafi-ruby-viewcomponent
-
Suchst Du frische Impulse für deine #Ruby Projekte? ☕ Unser #Tech Kafi am 12. Juni ist die Lösung! Lerne, mit Rails #ViewComponent deinen Code besser zu strukturieren 🛠️. Triff Gleichgesinnte in Bern 🏢 oder online 💻. #Community 🚀
https://www.puzzle.ch/de/blog/articles/2023/06/06/tech-kafi-ruby-viewcomponent
-
Suchst Du frische Impulse für deine #Ruby Projekte? ☕ Unser #Tech Kafi am 12. Juni ist die Lösung! Lerne, mit Rails #ViewComponent deinen Code besser zu strukturieren 🛠️. Triff Gleichgesinnte in Bern 🏢 oder online 💻. #Community 🚀
https://www.puzzle.ch/de/blog/articles/2023/06/06/tech-kafi-ruby-viewcomponent
-
Suchst Du frische Impulse für deine #Ruby Projekte? ☕ Unser #Tech Kafi am 12. Juni ist die Lösung! Lerne, mit Rails #ViewComponent deinen Code besser zu strukturieren 🛠️. Triff Gleichgesinnte in Bern 🏢 oder online 💻. #Community 🚀
https://www.puzzle.ch/de/blog/articles/2023/06/06/tech-kafi-ruby-viewcomponent
-
This blog post about #rubyonrails Turbo Streams + #viewcomponent by @jasonyork was helpful to me! It demonstrates how all of the pieces fit together and includes recent changes as of #hotwire turbo-rails 1.4.0 to help rendering, introduced by @joeldrapper
https://predicatemethod.com/posts/using-viewcomponents-with-turbo/
-
This blog post about #rubyonrails Turbo Streams + #viewcomponent by @jasonyork was helpful to me! It demonstrates how all of the pieces fit together and includes recent changes as of #hotwire turbo-rails 1.4.0 to help rendering, introduced by @joeldrapper
https://predicatemethod.com/posts/using-viewcomponents-with-turbo/
-
This blog post about #rubyonrails Turbo Streams + #viewcomponent by @jasonyork was helpful to me! It demonstrates how all of the pieces fit together and includes recent changes as of #hotwire turbo-rails 1.4.0 to help rendering, introduced by @joeldrapper
https://predicatemethod.com/posts/using-viewcomponents-with-turbo/
-
This blog post about #rubyonrails Turbo Streams + #viewcomponent by @jasonyork was helpful to me! It demonstrates how all of the pieces fit together and includes recent changes as of #hotwire turbo-rails 1.4.0 to help rendering, introduced by @joeldrapper
https://predicatemethod.com/posts/using-viewcomponents-with-turbo/
-
@stevediaconou mind contributing this to the (work in progress) #ViewComponent Cookbook?
https://github.com/ViewComponent/view_component/discussions/1621 -
@stevediaconou mind contributing this to the (work in progress) #ViewComponent Cookbook?
https://github.com/ViewComponent/view_component/discussions/1621