Post ATXyuzje6iIDu3gX1U by developit@mastodon.social
 (DIR) More posts by developit@mastodon.social
 (DIR) Post #ATXyuzje6iIDu3gX1U by developit@mastodon.social
       2023-03-12T18:00:03Z
       
       1 likes, 1 repeats
       
       This is how I build apps now:Standalone model(s) built with #Preact #Signals so they're implicitly reactive.Components simply reference the model instance from context and access its (reactive) properties.Testing the model without components is fast and easy. Testing the components a with mocked model is fast and easy.