crabdul.com
BlogTIL
About
  • Types or Interfaces

    May 02, 2021

    Types in TypeScript can be defined by both type and Interface aliases. They have many similarities and in many cases, they can be used interchangeably. But engineers like conventions and rules, which one should we stick to? Before digging into why you might want to use one or other, let's quickly discuss the difference between type and interface. Most of the time, an object type can be similarly…

  • Xstate

    April 04, 2021

    #Transitions A state transition defines what the next state is, given the current state and event. State transitions are defined on state nodes, in the on property

Github: crabdul / LinkedIn

2023