Simon André

Results 299 comments of Simon André

Recipes is great! Is it possible to decide if we want bootstrap and/or "pure css" on a recipe basis ? --- Would you accept LiveComponent in here too ? Now...

I (re?)discoverd [DaisyUI](https://daisyui.com/) .... and seriously still not sure if this is a joke or not.

Handling ` : ` instead of ` = ` would be done in the [ExpressionParser](https://github.com/twigphp/Twig/blob/4a47f0f5b4bf2400ed1e3abecb486655e3970cdb/src/ExpressionParser.php#L606) i guess, and i'm not sure how to "link" that with the snake_case transformation. But...

Could you show us how you're calling your component ? Is it from a controller template or is it from another component ? Also if you can a stack (as...

(i think the missing quote is from a copy/paste error ?) Very strange. Does the TwigComponent profiler panel give you any information ? You said your template is found and...

Oh.. that happens to some of us (me 😅) If everything is ok, could you close the issue ? :)

> 2. I moved `Icon` up a level (this is a personal preference). @smnandre did you have plans for more classes in the `Svg` namespace? Yes, but we will see...

Instead of using connect there, you should rely on the events dispatched by the LiveComponent

The [documentation](https://symfony.com/bundles/ux-live-component/current/index.html#javascript-component-hooks) is see ```js // assets/controllers/some-custom-controller.js // ... import { getComponent } from '@symfony/ux-live-component'; export default class extends Controller { async initialize() { this.component = await getComponent(this.element); this.component.on('render:finished', (component)...

```js async initialize() { this.component = await getComponent(this.element); // THERE this.component.on('render:finished', (component) => { // do something after the component re-renders }); } ```