title: Passing data between vanilla JS components
body: <p>Let's say we have an app that have of 2 components - an input that takes numbers and a range slider. When value in the input component is updated, the slider is set to that value too, and vice versa. What is the best approach to do this app in vanillaJs without using React?
  If I create 2 classes, how do I reactively update the state in them and how do I store these shared state?</p>