It goes in the same category as ViewComponents, which are either great or useless depending on the type of projects you are working on. If you have to test your views against multiple business edge cases, generating HTML from Ruby is a 10x improvement in testing experience. Also, if your HTML snippets exist in multiple variety it is much easier to regroup everything under a single Component in Ruby than having a huge mess of HTML.
Can you make a video on how to integrate ruby on rails application with office 365 tools such as one drive, word and powerpoint to create and upload files
It is a bit different than ViewComponent (which I prefer) but calling it stupid because it copies an existing gem instead of understanding the differences and the reasoning behind them, that is stupid.
I've waited years to say this:
"Weird Phlex, but okay"
It goes in the same category as ViewComponents, which are either great or useless depending on the type of projects you are working on. If you have to test your views against multiple business edge cases, generating HTML from Ruby is a 10x improvement in testing experience. Also, if your HTML snippets exist in multiple variety it is much easier to regroup everything under a single Component in Ruby than having a huge mess of HTML.
This!
Do you delve deeper about phlex in the build a link tree RoR course?
there is also arbre the library that was extrated from ActiveAdmin gem
Very Helpful : )
Can you make a video on how to integrate ruby on rails application with office 365 tools such as one drive, word and powerpoint to create and upload files
I am not a fan of Phles syntax, I prefer Viewcomponents approach but using either is a good step to keep your code modular and easily testable.
I can't really see the point, you're still writing all the HTML, on top of that, you should also learn how to do that in Phlex syntax..
Thanks for the video. Sorry, but Phlex gem is stupid. Creation of a new bicycle.
It is a bit different than ViewComponent (which I prefer) but calling it stupid because it copies an existing gem instead of understanding the differences and the reasoning behind them, that is stupid.
yes, it's stupid, who think HTML language is harder than others? with this gem, say goodbye to copy/paste 😂