AI Came
AI Saw
AI Migrated
With Hope
Too much
Something
The Plan
Migrate a core shared component from ROS
Migrate components part of a core flow from ROS
ROS (Angular ecosystem)
Non-ROS (React ecosystem)
Migrate the build tool
Migrate an entire React app to Angular
The Toolkit
AI
Github Copilot (Agent mode)
Cursor
Aider with both GPT4o and Claude 3.7-Sonnet
Use Case 1
Migrate the Map components
Use Case 2
Migrate the components from a core flow (life event)
Use Case 3
Migrate the build tool of a React app
Use Case 4
Migrate a React app to Angular
Lessons learned
Github Copilot works great with small well-structured, more standardized components
The bigger the component, the worse it's going to perform
When generating code with AI, developers spend most of their time reviewing and fixing
mostly fixing
A good strategy for migrating big codebase applications is to first create unit tests for old components
When migrating, the Copilot will pick up the unit test for context as well, leading to better accuracy
We have to be very specific in our prompts when trying to achieve a certain behaviour
Copilots seem to also tire when using them intensely, over two days, at a hackathon. Especially when everybody is using them.
Q & A
Thank you!
💅slay 💅
Made with Slides.com