Replacement suggestion for an unknown JSX host type. The host-config layer
uses this to compose the "did you mean ...?" line of the UnknownHostType
error message.
kind: 'html' means the input matched a known HTML tag — the message
should explain that Pilates is not HTML and point at the Pilates equivalent.
kind: 'spelling' means the input was close enough to a Pilates component
name (case-insensitive Levenshtein) — the message should be a "did you
mean X?" hint.
undefined means no useful suggestion; caller should produce a plain
"unknown host type X" message.
Replacement suggestion for an unknown JSX host type. The host-config layer uses this to compose the "did you mean ...?" line of the UnknownHostType error message.
kind: 'html'means the input matched a known HTML tag — the message should explain that Pilates is not HTML and point at the Pilates equivalent.kind: 'spelling'means the input was close enough to a Pilates component name (case-insensitive Levenshtein) — the message should be a "did you mean X?" hint.undefinedmeans no useful suggestion; caller should produce a plain "unknown host type X" message.