a2ui-project / a2ui-project/a2ui

Reserve internal keywords in component props like child, children, path, etc

Abierto
#1,376 3 comentarios 0 reacciones 0 asignados Ver en GitHub
component: specification P2 type: feature/enhancement
Lenguaje dominante
TypeScript
Estrellas
16.4k
Forks
1.3k
Merge medio
2 d 13 h
PR fusionados (30 d)
134

Descripción

There are some special keywords that should be reserved for the internals of A2UI. Some examples are child, children, path, among others. This surfaced in #1347.

We should do what we can to prevent unintended name collisions with these internal keywords. Maybe add an uncommon prefix, or have some type of build time check that prevents developers from using reserved keywords in their component props

This applies both to internal catalog components, as well as custom components created by devs.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.