Releases: drapanjanas/re-natal
Releases · drapanjanas/re-natal
Use React Native 0.18.1
v0.2.18 v0.2.18
Source maps in Debug in Chrome
Source maps are available when you are debugging in chrome.
- RN packager is patched to serve *.map files from file system
Upgrade existing projects
- run
re-natal upgrade
Use React Native 0.18.0
Using recent React Native release 0.18.0
Require static images with js/require in cljs
re-natal use-figwheel
now scans for images and for each image addsrequire
to index.*.js- removed macro env.require-img/require-img
Upgrade existing projects
- run
re-natal upgrade
- in cljs code replace all
require-img
calls tojs/require
- run
re-natal use-figwheel
- delete env/prod/env/require_img.clj
Show CLJS compilation errors on screen when using figwheel
- 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
Provide the solution for #5
Check Using external React Native Components in readme
Bugfix to add env/dev to .gitingnore
Bugfix related to issue #4
- adding .gitignore entries for generated files
Use React Native 0.17.0
Using recent React Native release 0.17.0
Start Figwheel from nREPL
$ 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
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