0

I have the following React component:

const Bleh = (props: any) => {
    const [val, setVal] = React.useState("")
    return <div>
        <Icon
            style={{ marginRight: '10px' }}
            iconName="style-three-pin-circle"
            iconColor="orange"
        />
        <Input value={val} onChange={setVal} style={{ width: 200 }} />
    </div>
}

When I type something into input val the Icon which is suspense loaded goes in and out of a suspense state.

Is there a way to skip the suspense state if the icons internal assets were already loaded?

meds
  • 21,699
  • 37
  • 163
  • 314

0 Answers0