When onboarding on a new TypeScript project you might encounter strong legacy due to too permissive configuration or not idiomatic implementation, in this article we see an approach to reduce them.
Read more
Sometimes maintaining manually written tests can quite rough. Thanks to @xstate/test we can auto generate tests based on a state machine definition that spreads the related business logic and is highly updateable.
Read more
Thanks to XState promises invocation and parallel states, we're able to configure a machine that performs and handle several parallel async operations outside the view, in an exportable and human readable way.
Read more
Idiomatically render dynamic react component depending on the device platform OS. Using expo Platform select method.
Read more
Guarding HTTP routes with Adonis/Auth is really common. But sometimes we wanna need to apply authentication on socket connection nor events listener too. In this article we see a way to do so with both Adonis/Auth and Socket-io.
Read more