Category : mobx-react

I’m trying to change the app’s state using MobX (v 5.15.4). I imported & passed the state from MobX to a component like so: import { observer } from ‘mobx-react’ const DisplayList = observer(({ project }) => ( <table className=’table’> …. …. </table> <DisplayData data={project.config} /> ) const DisplayData = ({ data: obj }) => ..

Read more