Pedro Nasser

Results 19 comments of Pedro Nasser

@sheerun Actually if you check the hotcontainer implementation and the protocols package (https://github.com/iron-io/functions/tree/master/api/runner/protocol), you'll see that HTTP is just one protocol. Other protocols can be implemented. Feel free to PR...

Good point, we should make some kind of routine that checks for image updates and without stopping the old version containers, the runner would start new containers with the new...

This is a very good feature. I am tired of having to return an empty div. Is there any alternative currently?

@oderwat Sometimes, depending on the state/props of the component, you want the component to not return anything. In React this is a very common and useful pattern.

@oderwat For example ```go type MyComponent struct { app.Compo isLoggedIn bool } func (c *MyComponent) OnMount(ctx app.Context) { ctx.ObserveState("isLoggedIn").Value(&c.isLoggedIn) } func (c *MyComponent) Render() app.UI { return app.Div().Body( app.If(c.isLoggedIn, app.H1().Body(app.Text("You...

@oderwat I understand your perspective. But even though this package is not meant for React projects, it still builds applications using the DOM. From my experience working with frameworks that...

Please prioritize this as much as possible. I know performance is still a big priority but this is also a very important to increase the adoption of mastodon.

To be honest a lot of stuff on go1.21 wasm is broken. I suggest not using 1.21 until 1.22 is released.

@jungle-boogie @joeblew99 @nicolinuxfr @mholt I've made a lot of changes recently. Can you check if the memory allocation has been reduced?