Skip to content

Three render bugs found while adding the Vue compile check (#234) #235

Closed

Description

@JuroOravec

Found while building the Vue compile check in #234. None is fixed there.

  1. The landing page demo crashes when it renders. docs_site/snippets/landing/editor_invite_panel.py puts <c-MemberChip> inside a Vue v-for, which fails at render. Once feat(check): run Vue's compiler over every template in citry check (#207) #234 lands, citry check with the app loaded reports it.
  2. A component call inside a table fails in a Vue component. In a component that uses Vue, <table><tbody><c-row /></tbody></table> fails at render with a "Foster parenting" error from Vue's compiler. The cause is the tag Citry writes for the component call, which HTML doesn't allow inside <tbody>, not the user's template. The fix belongs in how the runtime or the compiler writes component calls in table contexts.
  3. A NUL character in a template produces Python that can't run. The template compiler emits code that fails to execute. The fix is in the Rust compiler; until then, feat(check): run Vue's compiler over every template in citry check (#207) #234's rule skips such templates.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions