I'm making a date component right now and when the other value changes, the useeffect changes the date from one to another, how to make a text not immediately change it's value, but increment or decrement to the new value after other value have changed. I thought it can be doable with attaching useref.current to a text, but i can't see a way to animate it
Desktop 2023.02.16 - 11.04.40.02.mp4