Skip to content

Latest commit

 

History

History
23 lines (23 loc) · 1.04 KB

todo.org

File metadata and controls

23 lines (23 loc) · 1.04 KB

Features [5/8]

replicant/mounting

replicant/unmounting

dev-mode assert

:replicant/on-mount

:replicant/on-unmount

Support vars as event listeners #’

DOMException: Failed to execute ‘setAttribute’ on ‘Element’: ‘loading?’ is not a valid attribute name.

(when {:style {}}) <= Leads to nil, which is treated as a missing child. Don’t wrap the attribute map in a when

Asserts [6/7]

Using :className

Using spaced strings for :class

Using string style

:keyUp vs keyup

Style keys that are not strings or keywords

Style keys should be dash cased, not camelCased

Do not trigger renders from life-cycle hooks

Aliases [3/5]

Only call alias function once per render

Don’t call alias function when hiccup is unchanged

Offer setting for eager rendering of aliases (dev)

:replicant/key fra alias bør settes på elementet som et alias lager

Tillat defalias å lage alias med bare ett parameter - default det andre til _