https://github.com/status-im/re-frame-10x/tree/react-native-integration#react-native-setup
It's possible to use re-frame-10x via re-frisk-remote plugin https://github.com/flexsurfer/re-frisk-remote
To use re-frame-10x with React Native do the following:
- Add
goog.global.CLOSURE_UNCOMPILED_DEFINES = {"re_frame.trace.trace_enabled_QMARK_":true};tofigwheel-bridge.jsWe need to do this because:closure-definesdoesn't work in RN. More info here: drapanjanas/re-natal#46 - Have
lein-re-frisk>0.5.5re-frisk-remote>0.5.4 andre-frisk-sidecar>0.5.5 added to yourproject.cljSetup instructions here: https://github.com/flexsurfer/re-frisk-remote - Start your app with re-frisk-remote enabled. Add
:enable-re-frame-10x? trueoption toenable-re-frisk-remote!fn call. - Open http://localhost:4567/10x
You could use this PR status-im/status-legacy#3521 as an example of what needs to be done to make it work with RN