resources/js/components/Example.js
//invoke open modal to add a new task
invoke open modal to add a new task
invoke open modal to add a new task
toggleNewTaskModal(){
        this.setState({
            newTaskModal: !this.state.newTaskModal,
        })
    }
toggleNewTaskModal ( ) { this . setState ( { newTaskModal : ! this . state . newTaskModal , } ) }
invoke open modal to add a new task
invoke open modal to add a new task