Karax: better support for routing; easier to use; todoapp bugfix: misapplied .compact macro
This commit is contained in:
parent
b36380a48e
commit
5576c4809d
3 changed files with 51 additions and 33 deletions
|
|
@ -165,7 +165,7 @@ proc testWildInsert() =
|
|||
let b = createEntries(entries)
|
||||
doDiff(a, b, "pkInsertBefore button 7", "pkAppend div 5")
|
||||
|
||||
kxi = KaraxInstance(rootId: cstring"ROOT", renderer: proc (): VNode = discard,
|
||||
kxi = KaraxInstance(rootId: cstring"ROOT", renderer: proc (data: RouterData): VNode = discard,
|
||||
byId: newJDict[cstring, VNode]())
|
||||
|
||||
testAppend()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue