In {{project-ns}}.core, instead of storing the function to render itself like page1, page2 in app-state, wouldn't it be better to just store the identifier in app-state, like :page1, :page2 and then we can convert page1 and page2 to multimethods.
I just felt its more transparent on what is happening.
In
{{project-ns}}.core
, instead of storing the function to render itself likepage1
,page2
inapp-state
, wouldn't it be better to just store the identifier inapp-state
, like:page1
,:page2
and then we can convertpage1
andpage2
to multimethods.I just felt its more transparent on what is happening.
My two cents.
cheers