What is our preferred front-end toolkit? #1332
Replies: 3 comments 2 replies
-
|
There's also a case to be made that we should use Superglue. In that case, we'd have the whole React component ecosystem at our disposal. |
Beta Was this translation helpful? Give feedback.
-
|
I feel like Roux would be a good default, with an option for bare (no styles). And Superglue would be another option - we'd likely use Superglue with Roux. Roux should ship with some good standards for flashes and forms. |
Beta Was this translation helpful? Give feedback.
-
|
I feel like the choice of front-end should be an explicit choice determined by the architectural characteristics (non-functional requirements) of the application being built. The choice for how to approach the front-end is significantly impacted by how far you wish to delegate presentational responsibilities to the front-end (https://thoughtbot.com/blog/from-rails-to-javascript-a-spectrum-of-integration-options). When opting for a React frontend, for example, there are many approaches each with their own set of tradeoffs (https://thoughtbot.com/blog/how-to-integrate-react-rails). Superglue may not always fit every set of architectural characteristics. If Roux and Superglue are desired sensible defaults (they seem to be), then it would be desirable to easily to opt out and not include them (and still benefit from Suspenders' templated setup). Or, said another way, Suspenders doesn't need to fit every set of architectural characteristics and it's be nice to skip setting up parts of the default boilerplate that might not apply to a particular application. Perhaps another discussion altogether, the I wonder if Suspenders could follow a progressive enhancement approach.
Divisions like these might allow for some flexibility without adding the complexity of too many variations |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
There's precedent for Suspenders to configure a front-end toolkit. At one point, Suspenders shipped with Bourbon.
Now that we've release Roux, should Suspenders ship with that?
Beta Was this translation helpful? Give feedback.
All reactions