Stimulus controller not connecting inside an updated turbo_frame

I have a stimulus controller inside a partial that I need to be loaded via turbo_stream. The problem is, it’s not connecting when the turbo_frame is updated. Through inspect I can see that the data attribute there, but nothing happens.

Is there any special configuration to be done when using it with turbo?

I’m yet to understang why, but the issue was related to using turbo and stimulus gems (sprockets). I tried removing the gems and installing both via wepback and things worked as expected.