y9san9
06/05/2021, 4:51 PMkotlin/js
I wanted something typesafe and convenient), so I have added support for different platforms.
I was experimenting for a while with API because it was hard to unify files sync/async behavior and localStorage
, but now it's completely friendly for any customization and soon I plan to implement SharedPreferences, NsUserDefaults, Bundle, and so on support.
Also, I have ideas to integrate with frameworks such as kvision, more with the link below:
https://github.com/kotlingang/kdsy9san9
06/05/2021, 4:52 PMRobert Jaros
06/05/2021, 5:18 PMfun
as your root package name is a bit unfortunate? 🙂y9san9
06/05/2021, 5:25 PMOptIn(fun .kotlingang.kds.annotation.DelicateKDSApi::class
), but for users this won't be problem since imports work nice.russhwolf
06/05/2021, 6:15 PMy9san9
06/05/2021, 6:38 PMkds
forces to use it, there is an opt-in required in case you want to set or get data directly.
In my opinion, this is kind of a different paradigm when you don't control the map with delegates just as a shortcut, but delegates fully responsible for the map control.