react-native-emoticons
react-native-emoticons copied to clipboard
A trailing comma is not permitted after the rest element
When I import the module appers this error:
/app/node_modules/react-native-scrollable-tab-view/SceneComponent.js: A trailing comma is not permitted after the rest element (9:32)
7 |
8 | const SceneComponent = (Props) => {
> 9 | const {shouldUpdated, ...props, } = Props;
| ^
10 | return <View {...props}>
11 | <StaticContainer shouldUpdate={shouldUpdated}>
12 | {props.children}
any update on this?
@UzairAhmedSiddiqui you can just have a work around on this by removing , in
const {shouldUpdated, ...props, } = Props;
in the node_modules/react-native-scrollable-tab-view/SceneComponent.js
Honestly, that is not a workaround. node modules are never committed. This will only work if you are working on a local environment. Please fix this
When I import the module appers this error:
/app/node_modules/react-native-scrollable-tab-view/SceneComponent.js: A trailing comma is not permitted after the rest element (9:32) 7 | 8 | const SceneComponent = (Props) => { > 9 | const {shouldUpdated, ...props, } = Props; | ^ 10 | return <View {...props}> 11 | <StaticContainer shouldUpdate={shouldUpdated}> 12 | {props.children}
Also experiencing similar issue as well. Any resolution yet on this?