We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2de83d4 commit 6307cc3Copy full SHA for 6307cc3
doc/ReactRefresh.md
@@ -0,0 +1,8 @@
1
+# React Refresh
2
+
3
+- `reagent.dev` ns must be required before anything that loads `react-dom`
4
+- Don't call `r.dom/render` after reload (e.g. shadow-cljs hook)
5
+- Call `reagent.dev/refresh!` instead
6
+- Only components defined using `r/defc` will refresh
7
+- Reagent doesn't try to create Hook signatures for components,
8
+ so hook state is reset for updated components.
0 commit comments