Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Blue - v0.0.14

Compare
Choose a tag to compare
@ItsJonQ ItsJonQ released this 05 Sep 18:11
· 3318 commits to main since this release

Choice: Fix ID generation 🐛

This update fixes the uniqueID() generation for the Choice component, which indirectly fixes it for Checkbox and Radio. The same fix was also applied to Input and PortalWrapper.

This issue was the element's ID was being regenerated everytime there was a prop change, which is incorrect. It should only be generated once. The solution was to generate and store the uniqueID in the component state, instead of creating it in the render hook.

Better uniqueID creation 🚀

The uniqueID creation factory function has also been enhanced to accept a prefix override namespace.