Skip to content

5.0.3

Choose a tag to compare

@Heihokon Heihokon released this 29 Jan 18:18
· 2 commits to master since this release
d631bba

Fixed

  • Fixed useFlagship() hook flagsStatus object mutation issue that prevented React's useEffect from detecting changes. The flagsStatus object's properties (status, reason) were being mutated in place rather than creating a new object reference, causing React's shallow comparison in dependency arrays to fail. The object now returns a new reference when inner values change, ensuring proper reactivity.