@bardu I think having some kind of “migration readme” is a great idea. Since Samsara has been developed over the course of a year since Famous 0.3, some things will certainly be different, but I think overall it should feel familiar. You still make surfaces and construct scene graphs. User input, like touchsync
, are largely unchanged but renamed from “sync” to “input”. Event handling is also similar, though subscribe
is used exclusively instead of pipe
.
Transitionables
are there but are used differently. Modifiers are also there in spirit but “hidden”. Bigger differences are that there is no more render
function, which is a weird thing perhaps to wrap ones head around. There’s also a lot more emphasis on combining streams of changing layout data, instead of using a Transitionable’s get
and set
methods within a render
function.
There are currently 7 examples over at
Most have thorough documentation as well. The best way to get a feel for the difference between famous 0.3 and Samsara is to check those out.