Inspiration
We wanted a faster, smarter way to refactor TSX React components while saving tokens and dev time on Bolt.
What it does
RefacTore uses AI to refactor TSX components and instantly shows a live preview of the updated code.
How we built it
We built RefacTore using React, Supabase, and Bolt’s AI API, focusing on efficient token usage and real-time component rendering.
Challenges we ran into
Balancing token limits, ensuring component stability after refactor, and building a smooth live preview flow.
Accomplishments that we're proud of
We built a working AI refactoring loop with live previews that saves time and tokens while improving code quality.
What we learned
We learned how to optimize token consumption, improve AI prompts for clean refactors, and manage real-time previews efficiently.
What's next for RefacTore
We plan to support multi-file refactors, add code style presets, and improve error handling for more complex components.
Built With
- bolt
- youtube
Log in or sign up for Devpost to join the conversation.