You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
Is there a way to lazy load Ketcher component using ketcher-react ?
I cannot use
lazy()
because ketcher-react has no default export for Ketcher component, unfortunately it looks like React requires it.Thanks!
EDIT
I just wrapped
<Ketcher/>
into an other component which is lazy loaded. It works well.I also tried to do the following, but I didn't tested it well, so I am not sure this is a good solution.
I am still interesting to know how you achieve this. I let you close the discussion if you prefer.
Beta Was this translation helpful? Give feedback.
All reactions