Andrés Alin

Results 34 issues of Andrés Alin

Components that don't implement any callbacks or have state should be implemented somehow. Not exactly sure how though. Not sure how styles would work with this. Some sketches: ```haml :ruby...

It would be useful to implement some sort of benchmarks that can run in GitHub Actions. Without benchmarks, it's difficult to know whether a change has a positive or negative...

It would be nice to split Mayu into two gems, one that has all build+dev dependencies and one that has everything that's necessary for production. During build time we need...

Rollup is great and it's easy to write plugins for it. The current resource system in Mayu is pretty messy and I think modelling it more like Rollup and how...

enhancement

It would be nice if it was possible to specify prop types. Something like [T::Struct in Sorbet](https://sorbet.org/docs/tstruct) maybe. ```haml :ruby prop :description, String, nil?: true prop :count, Integer prop :onclick,...

This is a start... I would like to make the API nicer, for example, components should not have to do: ```haml :ruby translations("sv-SE", "en-US") %p= t(:title) ``` The following should...

Currently, when a new component renders, it will send the path of its stylesheet in the same patch set as the HTML for the component, which causes the styles to...

[LiteFS is a FUSE-based file system for replicating SQLite databases across a cluster of machines.](https://github.com/superfly/litefs) https://fly.io/docs/laravel/advanced-guides/global-sqlite-litefs/ It would be interesting to use it for global state.

enhancement

It would be useful to have a script that formats the application code. These libraries are already included in the gemspec and support formatting: * [ruby-syntax-tree/syntax_tree](https://github.com/ruby-syntax-tree/syntax_tree) * [ruby-syntax-tree/syntax_tree-haml](https://github.com/ruby-syntax-tree/syntax_tree-haml) What's missing...

enhancement

Listen to the [visibilitychange-event](https://developer.mozilla.org/en-US/docs/Web/API/Document/visibilitychange_event) and notify the server when it happens. Pseudo-code: ```js document.addEventListener("visibilitychange", () => { postCallback(sessionId, "visibilitychange", document.visibilityState); }); ``` And then on the server, the session could...

enhancement