Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
hotfix typescript slowdown
Oleg Isonenf46eabe9b91f
diff --git a/apps/designer/app/shared/design-system/components/combobox.tsx b/apps/designer/app/shared/design-system/components/combobox.tsxindex 6a6c549a8b..71b0394bd6 100644--- a/apps/designer/app/shared/design-system/components/combobox.tsx+++ b/apps/designer/app/shared/design-system/components/combobox.tsx@@ -139,7 +139,8 @@ export const Combobox = <Item extends BaseItem>({onItemSelect,onItemHighlight,renderTextField = (props) => <ComboboxTextField {...props} />,- renderList = (props) => <List {...props} />,+ // IMPORTANT! Without Item passed to list <List<Item> typescript is 10x slower!+ renderList = (props) => <List<Item> {...props} />,renderPopperContent = (props) => <ComboboxPopperContent {...props} />,}: ComboboxProps<Item>) => {const [foundItems, setFoundItems] = useState(items);