@typescript-tea/core
Advanced tools
Changelog
0.4.0 - 2020-04-24
setup()
to EffectManger
. This makes it possible for setup code to exist outside of core. For example code for setting up listening to popstate for navigation.Init
type to init()
function and Program.run()
instead of passing current url. This makes it possible to pass any type of data from the outside into the init() function of the program (a litle similar to Elm's flags). Since you can pass anything, tt is still possible to pass current url.onUrlChange
from Program
. This can instead be passed as creation parameter to a navigation effect manager.