Skip to content

v2.0.3

Choose a tag to compare

@based-ghost based-ghost released this 20 Jan 17:01
· 367 commits to master since this release

Change Log

🛠 Misc

  • Performance optimization. In hook useMenuOptions.ts - when initializing function getFilterOptionString2 in the effect - added type check on option.label and if typeof option.label === 'string' just return option.label directly and avoid new string allocation every time. option.label is typed as ReactText, so previously option.label was wrapped in String() to get consistent string return type for function.