proscenium
proscenium copied to clipboard
Modern client-side development for Rails
Testing js with Rails system tests is slow and error prone. Bun test is fast, but only tests the JS.
A component that can be rendered from Ruby (Phex/ViewComponent), and imported from js (React). Proscenium knows about the importer, so can modify the resulting import accordingly. For example, the `InputComponent`......
Code splitting in Proscenium will sometimes include duplicated JS files across page requests. This wouldn't usually be a problem when navigating across pages (MPA), but can be when requesting JS...
See https://turbo.hotwired.dev/handbook/building#working-with-script-elements
Currently when side loading, CSS for the action (view) is included first, followed by the layout. Because of the way CSS cascades, this should be the other way around. The...
Currently only `process.env.NODE_ENV` is defined. Allow an app to specify custom definitions.
See https://esbuild.github.io/api/#target I think some sort of configuration is needed for this.