Post APvRdPFhLGBdESz2RM by solnic@ruby.social
(DIR) More posts by solnic@ruby.social
(DIR) Post #APvRdPFhLGBdESz2RM by solnic@ruby.social
2022-11-24T09:08:43Z
0 likes, 1 repeats
I suspect Hanami is the first framework in Ruby that gives you an API for managing app's state. But what do I mean by that?Think about it like this: Ruby's runtime is an object with state. If you require a file that defines a class, now that state is changed, because there's a new class. If you change this class, now the state was changed again.When you use Hanami providers, you have total control over *when* and *how* this state changes and it's a valuable thing to have.#hanami #ruby #oss