Skip to content

Human-readable ids for components that match the JSON #88

@kaidotarma

Description

@kaidotarma

Hi!

Currently, all components have ComponentContext, which has ComponentId with integer value - and this is generated during runtime.
This doesn't allow us to create overrides for components where we want to have specific handling for only some of the specific components, because we cannot identify them in the component code, compared to the JSON.

In the Web SDK, it is possible to use pConn to get the state properties, and also figure out the human-readable id for each component.
this.pConn$.getStateProps().value;
and
this.pConn$.getFullReference()
Would it be possible to expose pConn to the mobile SDK as well, or perhaps even add the human-readable id to ComponentContext?
Note that if you can provide the human-readable id, then it should also reference/reflect the parents, so we could do a lookup.

BR,
Kaido

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