I have been thinking about extending https://github.com/ViewComponent/view_component/issues/1848 by adding a config that disables the use of helpers through helpers.<helper_name> and forces you to use use_helpers <helper_name> when you need helpers
A possible example could be:
config.view_component.use_strict_helpers = true
Motivation
This can help in developers that wish to make it easier to reason when using global state as is the intention with
Feature request
I have been thinking about extending https://github.com/ViewComponent/view_component/issues/1848 by adding a config that disables the use of helpers through
helpers.<helper_name>
and forces you to useuse_helpers <helper_name>
when you need helpersA possible example could be:
Motivation
This can help in developers that wish to make it easier to reason when using global state as is the intention with