react-native-material-shadows
react-native-material-shadows copied to clipboard
Always getting `TypeError: In this environment the sources for assign MUST be an object This error is a performance optimization and not spec compliant`
Hi there,
I can't seem to get around this issue, using react-native: 0.55.4
I'm just trying to implement a Shadow view like:
export default class ShadowView extends Component<Props> {
render() {
return (
<RNMaterialShadows style={styles.container}>
{this.props.children}
</RNMaterialShadows>
);
}
}
Stacktrace:
TypeError: In this environment the sources for assign MUST be an object. This error is a performance optimization and not spec compliant.
This error is located at:
in View (at YellowBox.js:425)
in YellowBox (at AppContainer.js:97)
in RCTView (at View.js:60)
in View (at AppContainer.js:122)
in AppContainer (at renderApplication.js:32)
handleException @ ExceptionsManager.js:63
showErrorDialog @ ReactNativeRenderer-dev.js:10392
logCapturedError @ ReactNativeRenderer-dev.js:10402
logError @ ReactNativeRenderer-dev.js:10495
commitErrorLogging @ ReactNativeRenderer-dev.js:10750
commitAllLifeCycles @ ReactNativeRenderer-dev.js:12521
invokeGuardedCallback @ ReactNativeRenderer-dev.js:39
invokeGuardedCallback @ ReactNativeRenderer-dev.js:221
commitRoot @ ReactNativeRenderer-dev.js:12676
completeRoot @ ReactNativeRenderer-dev.js:13685
performWorkOnRoot @ ReactNativeRenderer-dev.js:13635
performWork @ ReactNativeRenderer-dev.js:13545
performSyncWork @ ReactNativeRenderer-dev.js:13506
requestWork @ ReactNativeRenderer-dev.js:13392
scheduleWorkImpl @ ReactNativeRenderer-dev.js:13259
scheduleWork @ ReactNativeRenderer-dev.js:13207
scheduleRootUpdate @ ReactNativeRenderer-dev.js:13930
_updateContainerAtExpirationTime @ ReactNativeRenderer-dev.js:13965
updateContainer @ ReactNativeRenderer-dev.js:13990
render @ ReactNativeRenderer-dev.js:14726
renderApplication @ renderApplication.js:49
run @ AppRegistry.js:101
runApplication @ AppRegistry.js:194
__callFunction @ MessageQueue.js:351
(anonymous) @ MessageQueue.js:116
__guardSafe @ MessageQueue.js:314
callFunctionReturnFlushedQueue @ MessageQueue.js:115
(anonymous) @ debuggerWorker.js:70
Any idea why?
Thanks a bunch!
any update on this? is this project dead?