Comments (2)
Are there any consequences to this? What is the reason for AsLiveComponent to be marked final?
I believe this has been answered in #1352 (comment) (at least until when/if
registerAttributeForAutoconfiguration()
supports attribute children).
Yes, I've closed the PR, this should be the resolution:
Ok gents, thanks for the quick responses! Iβll go a different route and register the custom attribute for auto wiring in my bundle the same way live component is auto registered. I thought perhaps because
AsLiveComponent
extendsAsTwigComponent
that this was the way to go but itβs not a big deal to register it manually.
Even though, rightfully so seeing how a lot of UX is still experimental, @smnandre recommended against it. I have a working version now which makes the API for users of my bundle a lot less complex, so I'm satisfied.
from ux.
Are there any consequences to this? What is the reason for AsLiveComponent to be marked final?
I believe this has been answered in #1352 (comment) (at least until when/if registerAttributeForAutoconfiguration()
supports attribute children).
from ux.
Related Issues (20)
- [TwigComponent] Configuration with PHP ConfigBuilders fails HOT 6
- [TwigComponent] Check if component exist HOT 4
- lint:twig error, possibly with twig component HOT 35
- [Autocomplete] autoimport bootstrap option is reset to default when doing a composer update HOT 6
- [TwigComponent] Feature request: boolean attributes in html syntax HOT 3
- [StimulusBundle] Asset mapper dependency HOT 6
- [RFC] Add docblock + urls into "controller.json"
- [TwigComponent] Deprecations not setting defaults and anonymous template directory HOT 9
- [LiveComponent] Feature Request: Make #[LiveListener] repeatable HOT 2
- [Autocomplete] Autocomplete only with `filter_query` loads all choices without criteria HOT 4
- [LiveComponent] data-loading expressions not working on root node HOT 1
- [TURBO] turbo streams role management and exposing sensitive data HOT 5
- [UX] Live component - form select required not initialized
- [LiveComponent] [Form] Sometimes save function doesn't have correct value from the last edited form field HOT 8
- [Autocomplete] Testing an autocomplete HOT 12
- [LiveComponent] Serializer still required
- How to render a component from PHP code? HOT 2
- [TURBO] UX Turbo does not re-render form on error HOT 17
- [LiveComponent] Redirection not working Symfony 7.0.1 live-component 2.13 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ux.