Skip to content

Deduplicate function subSlot across bindings #810

Closed

Description

@aleclarson

Summary

There are currently 39 separate definitions of function subSlot across Octane's bindings:

https://github.com/search?q=repo%3Aoctanejs%2Foctane+%22function+subSlot%22&type=code

Could subSlot be added to octane (or another shared layer) so all bindings can reuse one implementation?

Motivation

  • Avoid maintaining the same helper in 39 places
  • Keep behavior consistent across bindings
  • Make future fixes and improvements a single change

The bindings should be updated to use the shared helper while preserving any binding-specific behavior, with tests added or updated as appropriate.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions