Looks like Expo Webpack doesn't optional chaining.
I found this when I tried to install UI Kitten to Expo Web app.
This is the compile error after I added UI Kitten to the newly created Expo app
node_modules/@ui-kitten/components/ui/input/input.component.js 104:38
Module parse failed: Unexpected token (104:38)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| this.webEventResponder = devsupport_1.WebEventResponder.create(this);
| this.focus = () => {
> this.textInputRef.current?.focus();
| };
| this.blur = () => {
Deps versions(latest ones at the moment that I'm writing here.)
expo@37.0.6
@ui-kitten/components@5.0.0-alpha.1
Any tips to hack around this?