barriault PRO said over 1 year ago on ViewComponent :
I've been using ViewComponents for a long time now. Can I make one suggestion? Add an attr_reader :post to the .rb file, and stick with local variables in your .html.erb file.