Skip to content

Investigate using bytecode instrumentation instead of compiler plugin #963

@romtsn

Description

@romtsn

Description

The Kotlin compiler plugin proved to be very unstable and painful to maintain. Across the past few months we've had several incompatibility issues (mostly due to the compiler plugin API changing unexpectedly in a breaking way without any notice):

We should investigate feasibility of tagging Composables through bytecode manipulation. On paper this should work just fine, but it's worth trying it out first. Potential downsides:

  • This ain't going to work for KMP (but we don't support it now either)
  • More complicated logic since we'd have to operate on what bytecode the compose compiler plugin produces

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions