This version (hopefully) actually fixes the autoFocus problem by breaking out of React's useEffect
callback ordering and updating layer enabled/disabled states immediately (#16).
This version (hopefully) actually fixes the autoFocus problem by breaking out of React's useEffect
callback ordering and updating layer enabled/disabled states immediately (#16).