Mobx: where is the useStrict function in the latest edition ?

Created on 8 Apr 2018  路  2Comments  路  Source: mobxjs/mobx

Hello every mobxer锛宨 am a rookie .

yesterday i install the latest edition mobx which is 4.1.1, When I want to use useStrict mode.

import {observer, inject, useStrict} from 'mobx-react'

I have a Question: i have found nothing about useStrict in the mobx.d.ts file .it means the latest edition mobx had moved useStrict ? so how can i use useStrict function in the 4.1.1 edition ?

Most helpful comment

configure({ enforceActions: true })

All 2 comments

configure({ enforceActions: true })

thank you i get it Migrating from mobx 3 to mobx 4

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mdebbar picture mdebbar  路  3Comments

kirhim picture kirhim  路  3Comments

weitalu picture weitalu  路  3Comments

geohuz picture geohuz  路  3Comments

kmalakoff picture kmalakoff  路  4Comments