Skip to content

Releases: drapanjanas/re-natal

Use React Native 0.18.1

22 Jan 19:56
Compare
Choose a tag to compare
v0.2.18

v0.2.18

Source maps in Debug in Chrome

21 Jan 22:04
Compare
Choose a tag to compare

Source maps are available when you are debugging in chrome.

  • RN packager is patched to serve *.map files from file system

Upgrade existing projects

  1. run re-natal upgrade

Use React Native 0.18.0

18 Jan 21:05
Compare
Choose a tag to compare

Using recent React Native release 0.18.0

Require static images with js/require in cljs

17 Jan 18:36
Compare
Choose a tag to compare
  • re-natal use-figwheel now scans for images and for each image adds require to index.*.js
  • removed macro env.require-img/require-img

Upgrade existing projects

  1. run re-natal upgrade
  2. in cljs code replace all require-img calls to js/require
  3. run re-natal use-figwheel
  4. delete env/prod/env/require_img.clj

Show CLJS compilation errors on screen when using figwheel

09 Jan 23:07
Compare
Choose a tag to compare
  • Using AppRegistry.registerComponent to init app, and preserve initially registered root component of the app
  • Enable figwheel heads up display

Upgrade your existing project:

1.Run command re-natal upgrade
2.Change definition of init function in core.cljs to:

(defn init []
  (dispatch-sync [:initialize-db])
  (.registerComponent app-registry "YourAppName" #(r/reactify-component app-root)))

3.Rename main application component in core.cljs to app-root:

(defn app-root [] 
  ...
)

4.Delete function mount-root from core.cljs

Support custom React Native components

05 Jan 19:09
Compare
Choose a tag to compare

Bugfix to add env/dev to .gitingnore

31 Dec 18:05
Compare
Choose a tag to compare

Bugfix related to issue #4

  • adding .gitignore entries for generated files

Use React Native 0.17.0

21 Dec 18:55
Compare
Choose a tag to compare

Using recent React Native release 0.17.0

Start Figwheel from nREPL

15 Dec 18:30
Compare
Choose a tag to compare
$ lein repl

Then in the nREPL prompt type:

user=> (figwheel-ios)

Or, for Android build type:

user=> (figwheel-android)

Generated project uses prismatic/schema for app-db validation

14 Dec 11:36
Compare
Choose a tag to compare

When using re-frame you probably want to give your app-db a schema.

  • generated project is using prismatic/schema 1.0.4 to validate app-db after execution of each handler
  • bumped version of re-frame to 0.6.0