Hi,
Sorry, I didn't find any forum to post this question.
May I know, can we achieve "Page-Specific Javascript" loading as mentioned in Organizing Javascript in Rails Application With Turbolinks article using this framework ?
Thanks.
@kirantpatil when you load the page stimulus only boots up new instances of controllers that you specified on the page. It uses MutationObservers under the hood.
So it should be "Page-Specific" out of the box :)
What @dixpac said 馃憤
Most helpful comment
@kirantpatil when you load the page stimulus only boots up new instances of controllers that you specified on the page. It uses MutationObservers under the hood.
So it should be "Page-Specific" out of the box :)