Refactor/simplify `CreatableAutoSuggest` (too many `strictNullChecks` issues)
Originally posted by @BLoe in https://github.com/pixiebrix/pixiebrix-extension/pull/6683#discussion_r1368895783
Furthermore, this
CreatableAutoSuggestcomponent appears to only be used in one place, inSelectorSelectorWidget. I'm not sure if this was used in more places previously, but if we only need to support the one widget, then this whole thing can/should be simplified a TON. Probably can remove a bunch of the props and make the rest required, based on the one widget call-site.
This is related to the strictNullChecks upgrade.
We have two options:
- figure out how to handle the optional
onCreateNewandrenderCreateNewcallbacks - simplify the whole component to avoid unnecessary complexity
This issue will be closed in 7 days unless the stale label is removed, or a comment is added to the issue.
completed