This file provides comprehensive guidance for working with the re-com ClojureScript UI component library.
bb install # Install dependencies
bb watch # Full dev server (http://localhost:3449/)
bb test # Run tests
bb clean # Clean compiled artifacts- Run
bb watchfor hot reloading - Edit components in
src/re_com/ - View changes at http://localhost:3449/
- Create/update demo page in
src/re_demo/ - Run
bb testbefore committing
@ai/development-workflow.md - Commands, testing, and development loop
@ai/component-creation-modern.md - Modern component creation patterns and templates
@ai/parts-system.md - Granular styling and customization system
@ai/theme-system.md - Theming integration and CSS handling
@ai/performance-best-practices.md - Optimization techniques for parts & theme system
@ai/architecture.md - Dependencies, file structure, and technical foundations
@ai/troubleshooting.md - Common issues and Reagent gotchas
@ai/migration-parts-theme.md - Migrating to modern parts & theme system
- DO NOT ADD COMMENTS unless explicitly requested
- Always prefer editing existing files over creating new ones
- Never create documentation files unless explicitly requested
- Follow existing code conventions and patterns
- Use
handler-fnfor all event handlers - Always validate component arguments with
validate-args-macro
- Never expose or log secrets/keys
- Check that libraries are already available in the codebase before using
- Look at existing components for patterns before implementing new ones
- Run lint/typecheck commands before committing (when available)
- Only commit when explicitly requested
- Reagent 1.1.0 - React wrapper for ClojureScript
- Bootstrap 3.3.5 - Base CSS framework
- Shadow-cljs - Build tool with hot reloading
- Desktop-focused, Chrome-optimized development