mirror of
https://github.com/status-im/re-natal.git
synced 2025-01-27 04:44:50 +00:00
fix problem of application state reset on each figwheel reload
The application state should stay intact when UI code is reloaded.
This commit is contained in:
parent
9adbc49149
commit
3f96a1384a
@ -1,4 +1,4 @@
|
||||
(ns ^:figwheel-always $PROJECT_NAME_HYPHENATED$.$PLATFORM$.core
|
||||
(ns ^:figwheel-load $PROJECT_NAME_HYPHENATED$.$PLATFORM$.core
|
||||
(:require-macros [env.require-img :refer [require-img]])
|
||||
(:require [reagent.core :as r :refer [atom]]
|
||||
[re-frame.core :refer [subscribe dispatch dispatch-sync]]
|
||||
|
@ -1,4 +1,4 @@
|
||||
(ns env.$PLATFORM$.main
|
||||
(ns ^:figwheel-no-load env.$PLATFORM$.main
|
||||
(:require [$PROJECT_NAME_HYPHENATED$.$PLATFORM$.core :as core]))
|
||||
|
||||
(enable-console-print!)
|
||||
|
Loading…
x
Reference in New Issue
Block a user