--

In the same component yes, cause you’re negating the benefits of the observer by firing scroll events.

If performance is not an issue, go with whatever works though. Observers are only here as a performance enhancement. If you don’t have a perf issue, you don’t *necessarily* need to use them at all :)

--

--