deseretdigital / dayzed

Primitives to build simple, flexible, WAI-ARIA compliant React date-picker components.
https://dayzed.netlify.app
MIT License
660 stars 27 forks source link

Fix rendering in Preact #7

Closed mkartchner994 closed 6 years ago

mkartchner994 commented 6 years ago

As can be seen in the codesandbox example - https://codesandbox.io/s/6xz727lr0z

Once a date is selected, the calendar renders all the dates a second time.

mkartchner994 commented 6 years ago

Looks like the issue here was I wasn't passing a unique key like a thought. Update can be seen in this commit here - https://github.com/deseretdigital/dayzed/commit/411f722a1a6851282534ece8d1ecae184c0c53a1