3 ms·
This follows on from using props as an initializer - something that should be avoided if possible. Date pickers get gnarly here: is the date prop the initial da
by quickthrower2 4y ago
This follows on from using props as an initializer - something that should be avoided if possible. Date pickers get gnarly here: is the date prop the initial date or the current one? I think it should be the current one, with a prop to handle date change.