RSS DEV Community

How to Search Beyond the Docs When Your Code Won't Work

The author faced a sorting issue in a project management table in Yahini where tasks with null due dates were scattered randomly. After struggling with standard documentation, the author used Kilo Code with Exa, an AI tool that searches the web for solutions. Exa found discussions highlighting that TanStack Table treats null values differently than undefined, leading to the sorting problem. The solution was to convert null due dates to undefined, which TanStack correctly pushes to the bottom. This experience underscored the value of Model Context Protocol (MCP), enabling AI assistants to access external tools like documentation and web searches. Exa complements tools like Context7 by providing real-world implementation examples beyond official documentation. The author also successfully used Exa to streamline a Remix to Astro migration by identifying relevant blog posts and solutions. Setting up Exa MCP involves obtaining an API key, configuring the MCP settings in Kilo Code or Cursor, and restarting the editor. The author combines Context7, Exa, and Supabase MCP to efficiently build Yahini features within the editor. The author also praises shadcn/ui for its customizable components and integration with MCP.
favicon
dev.to
dev.to
Create attached notes ...