How to Rerender a Svelte Component On Demand
Today, I want to share with you a solution to a problem I encountered recently: how to rerender a Svelte component on demand and, in particular, how to rerender it when I want to run a function prop again. The specific scenario involved using a Datepicker Svelte component with two instances of it. My goal was to set a starting date and an ending date. When the starting date was clicked, the datepicker displayed, and the same happened when the ending date was clicked....