Hello Corentin! Thank you for watching and commenting! 🙏 You could use decorators (like presenters) but I honestly think a helper is better than the decorator in this example since this is all display logic which is one of the use cases of Rails helpers.
Wonderful video Alberto, it was super helpful! 🙂
Thank you for your kind words Sam! I'm very happy to know that it helped you 🙏
Thank you for your video, it was helpful!
Thank you so much!
What do you think of view_components vs helpers
Hello, Just a question for the PostHelper example. Used a decorator method would be better for this example no ?
Hello Corentin! Thank you for watching and commenting! 🙏 You could use decorators (like presenters) but I honestly think a helper is better than the decorator in this example since this is all display logic which is one of the use cases of Rails helpers.