Have you tried nocode components? You can build reusable elements with internal variables and logic, and you can communicate with the parent element by triggering events (I made atutorial about this here)
Have you tried nocode components? You can build reusable elements with internal variables and logic, and you can communicate with the parent element by triggering events (I made atutorial about this here)