-
Notifications
You must be signed in to change notification settings - Fork 14
ViewComponent
Obie Fernandez edited this page Oct 30, 2020
·
1 revision
At the moment there are challenges requiring workarounds to using ViewComponents inside of a typical Rails fragment caching scheme. The reason is that rendering components is somewhat new to Rails, and it does not yet know how to "notice" that the source code of a view component's ruby file or associated template has changed. This stands in contrast to the way that Rails handles view partials.