async componentWillMount() {
this.setState({
mMonthStartDate: moment(new Date()).startof('month').format("YYYY-MM-DD"),
userAcadDetails: this.props.user.userAcadInfo,
item: JSON.parse(await AsyncStorage.getAsyncValue("""""""""""))
})
render Method
<Calendar
style={{ width: Dimensions.get("window").width }}
current={this.state.mMonthStartDate}
minDate={this.state.mMonthStartDate}
maxDate={this.state.mMonthEndDate}
onMonthChange={month => {
// this.getStartdate(month.dateString);
console.log("month changed", month);
}}
/>
I am not able to crack this whenever debug JS remotely is on Application perfect. when i turn it off this error will display