add RN setup instructions to README
This commit is contained in:
parent
99f8fafe74
commit
0fa9500f9b
11
README.md
11
README.md
|
@ -171,6 +171,17 @@ If you don't meet those pre-requisites, see the docs on [advanced setups](/docs/
|
|||
|
||||
[cljs-devtools](https://github.com/binaryage/cljs-devtools) is not required to use re-frame-10x, but it is highly recommended.
|
||||
|
||||
## React Native Setup
|
||||
|
||||
To use re-frame-10x with React Native do the following:
|
||||
|
||||
- Add `goog.global.CLOSURE_UNCOMPILED_DEFINES = {"re_frame.trace.trace_enabled_QMARK_":true};` to `figwheel-bridge.js`
|
||||
We need to do this because `:closure-defines` doesn't work in RN. More info here: https://github.com/drapanjanas/re-natal/issues/46
|
||||
- Have `lein-re-frisk` >0.5.5 `re-frisk-remote` >0.5.4 and `re-frisk-sidecar` >0.5.5 added to your `project.clj`
|
||||
Setup instructions here: https://github.com/flexsurfer/re-frisk
|
||||
|
||||
You could use this PR https://github.com/status-im/status-react/pull/3521 as an example of what needs to be done to make it work with RN
|
||||
|
||||
## Usage
|
||||
|
||||
- **Make sure you have followed all of the installation instructions above.**
|
||||
|
|
Loading…
Reference in New Issue