Skip to content

Simple debugging tool for React Native re-frame apps. **shadow-cljs compatible**.

Notifications You must be signed in to change notification settings

flexsurfer/re-frisk-rn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THIS REPO ISN'T MAINTANIED ANYMORE you can find re-frisk-remote here https://github.com/flexsurfer/re-frisk

Simple debugging tool for React Native re-frame apps. shadow-cljs compatible.

Clojars

Usage

Add [re-frisk-rn "0.1.1"] dependency to your project.

Enable re-frisk in your RN app:

:devtools   {...           
             :preloads [re-frisk-rn.preload]}

OR

(:require [re-frisk-rn.core :as rfr])

(defn init []
  (rfr/enable {:on-init #(rn/register-nav-comp "yourapp" root-stack)}))

Run re-frisk in terminal

shadow-cljs run re-frisk-rn.core/start

Build and run your app

If you see websocket error add yarn add websocket package

Open re-frisk in browser at https://localhost:4567

When remote debugging on an Android device you might need to enable reverse socket connections on port 4567:

adb reverse tcp:4567 tcp:4567

ENJOY!

About

Simple debugging tool for React Native re-frame apps. **shadow-cljs compatible**.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published