Code/Technology Migration
I need to migrate this code from [SOURCE] to [DESTINATION]. Current code: [CODE]. Rewrite it in the destination technology while maintaining the behavior, point out important differences between the two approaches, and list common pitfalls/gotchas in this migration. Explain the main changes.