Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.8 KB

TODO.md

File metadata and controls

35 lines (27 loc) · 1.8 KB

Project Tasks

High Priority

  • Improve code quality
  • Use structs for generating tokens in anon module
  • Refactor the code to improve logic, optimize performance, and enhance maintainability, as the initial implementation was focused on just making it work.
  • Update attributes handling logic
  • Implement pattern matching
  • Write initial tests for critical components
  • Use &mut String for HTML escaping because html-escape::encode_text_to_string requires it, and use the original string for other operations instead of pointer indirection in push_str
  • Consolidate attributes when iterating
  • For literals escape or minify at compile time
  • pass concat args while calling components

Medium Priority

  • Minify scripts and styles using minify-html
  • Enable moving scripts and styles to desired positions when used inside components (if possible)
  • Write the README documentation
    • Create a website in docs workspace based on the README using any markdown to HTML crates (like pulldown-cmark)
    • Write doctests using skeptic
  • Add tailwind_fuse feature

Low Priority

  • Write benchmarks using criterion to measure and optimize performance

Ideas

  • Returning concat args if possible
  • While script_use check if it is a literal, so that it can be use as a concat arg
  • Expressions with attributes
  • Access modifiers for generated component macros
  • Macro calling another macro for blocks, consolidation, etc.