- Preload namespace with react-refresh
uix.preload
#178 - Forms rewriter, rewrites simple
for
intomap
#181
- Readbale component stack traces #171
- add
uix.re-frame
withuse-subscribe
hook
set-state
inuse-state
hook behaves likecljs.core/swap!
when passing updater function
^:memo
tag fordefui
to create memoized components in-placeuix.core/clone-element
helper for cloning UIx elements- React Hooks with deps are using now Clojure's equality check to detect whether deps were updated
- add defhook to lint as defn in clj-kondo config 53a7cc
- make args optional in clj components 806691
- The order of DOM attributes in JVM SSR should match JS SSR bf971d
- JVM SSR: dynamic id should overwrite static id 929c26
- Fixed props passing in
as-react
#134 - JVM SSR:
class
,class-name
andclassName
should be rendered asclass
;for
,html-for
andhtmlFor
should render asfor
#137
- Added
use-debug
hook touix/core.cljs
27b4b9 - Added a linter for DOM attributes #126
- Utilities for html and hiccup to uix conversion #127
- Support the optional key argument for
create-portal
#138 - Fix Reagent-style hot-reloading not working with
uix.corel/lazy
and code-splitting in shadow-cljs #139
- Fixed
$
elements not being emitted when$
is wrapped in a macro #121
- Missing key linter: check in a threading macro #100
- Better error message when an incorrect value is supplied to
$
in place of a component #114 - Fix memory leak in
use-subscribe
hook #109 - Fix fast-refresh breaking 7c39a4e, 2a4504b
- Fixed minor differences in SSR output between JS and JVM renderers
- cljs ns
uix.dom.server
wrappingreact-dom/server
uix.core/client?
anduix.core/server?
helperssuspense
,strict-mode
andprofiler
componentsuix.core/defhook
macro for custom hooks
- Allow props as js obj into non-uix components b0fe50
- Should preserve identity of Clojure primitives when updating state with equal-by-value value a7abe1
- Better forward-ref interop 2753d9
- Fixed incorrect return value of
use-state
hook on JVM 99b85f - Fixed Hooks deps linter missing reporting deps which names are shadowing JS globals 2d11b8
- Use
createRoot
in tests 32e0bc
- Public API for linter plugins #86
- Deps linting enabled by default 25cc16
- Added support for dynamic element types 14d5b7
- Added clj-kondo config #97
- Added
error-boundary
component #98 - Added support for most React Hooks for SSR on JVM #104
- Improved missing deps reporting 5567dc
- Fixed re-frame/subscribe linter #92
- Fixed
dangerouslySetInnerHTML
throwing on JVM #102
- Documented internals docs/internals.md
- Fixed how react-dom API is exposed (react-dom vs react-dom/client)
- React v18.2.0 API compatibility #59
- New hooks wrappers:
use-insertion-effect
,use-deferred-value
,use-transition
,start-transition
,use-id
anduse-sync-external-store
- New
uix.dom
public API:create-root
,hydrate-root
,render-root
andunmount-root
- Fix rules of hooks linter f7276d
- Added
uix.core/fn
macro 924e4b
- Recursive class names stringifier ebc178
- Better code location pointing in linting errors 7116d7
- Linter rule to report on missing
:key
attribute fed7d8
- Added linter check for non-reactive usage of re-frame subscriptions in UIx components via re-frame API 071650
- Added a section on “Syncing with ratoms and re-frame”
- Added a section about “Utilities”
- Fixed shadowing for non-ns component var generated in dev-only code 4458ee
- Basic SSR on JVM 4a10c9
- Improved missing deps check to account for vars shadowing #73