Skip to content

Conversation

TrySound
Copy link
Member

We have issue with distincting html attributes and component properties. I have an idea for proper fix. For now fast fix with just aliasing autoplay and autoPlay.

We have issue with distincting html attributes and component properties.
I have an idea for proper fix. For now fast fix with just aliasing
autoplay and autoPlay.
@TrySound TrySound requested a review from kof May 16, 2025 11:57
TrySound added a commit that referenced this pull request May 16, 2025
Related #5211

We moved html attributes away from props metas and have very little
actual props left in meta. It is safe to merge with component meta
to simplify access in both builder and CLI.

CLI size increase is not very significant

```diff
- 241.92kB
+ 256.64kB
```
TrySound added a commit that referenced this pull request May 16, 2025
Related #5211

We moved html attributes away from props metas and have very little
actual props left in meta. It is safe to merge with component meta to
simplify access in both builder and CLI.

CLI size increase is not very significant

```diff
- 241.92kB
+ 256.64kB
```
@TrySound TrySound marked this pull request as draft May 16, 2025 15:36
TrySound added a commit that referenced this pull request May 16, 2025
TrySound added a commit that referenced this pull request May 17, 2025
)

Proper fix for #5211

Now props meta are available in component generator and can be used to
figure if prop is defined by component or comes from html attributes.
Added same logic in canvas and component generator.

Also got rid from no longer necessary registeredComponentPropsMetas
store since all props are described by component meta.
@TrySound TrySound closed this May 17, 2025
@TrySound TrySound deleted the video-fix.staging branch May 17, 2025 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants