Shopify / Shopify/shopify-app-template-ruby

Rails 8, Hotwire, Stimulus, no react

Open
#122 16 comments 36 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
154
Forks
50
PR merge metrics
No merged PRs in 30d

Description

Hello Shopify!

With the upcoming release of Rails 8, I think the default rails template for a Shopify app could deeply change. This is more a topic for discussions, but there is no discussions tab so here I am.

In particular

  • Is React really needed? Embedded apps have a full page reload when changing from the app menu, and inside the app it could easily be another page (index.html.erb to show.html.erb), especially with Hotwire. A full stack dev could just get some Polaris designs and create a fully working app without needing to know one line of React
  • If needed, Stimulus could be used for interactivity, replacing the need for React
  • Kamal will sit on top of Docker / Kubernetes, allowing to deploy everywhere
  • solid queue and solid cache examples (especially on rate limiting Shopify's APIs) => https://github.com/basecamp/solid_queue/issues/97

Benefits

  • zero bundling and transpiling - way faster deployments (and easy to debug)
  • way faster development cycle
  • shorter learning curve
  • frontend developers focused on building extensions (admin, storefront, account, checkout etc)

I am very interested in building something like this, I have already seen a few resources online (i.e. https://github.com/kirillplatonov/shopify-hotwire-sample) from @kirillplatonov.

Is it interesting for Shopify as well? I'm asking because I can see an outdated Ruby version on this repo, for example, and official documentation mentioning only Remix templates.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the current Ruby app template, its documented Remix approach, the Rails 8 milestone, and the linked Hotwire sample. The issue does not name files or tests; done would require an agreed direction for the template and corresponding implementation or documentation changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, kubernetes, rails, react, ruby
Domain
devops, full-stack, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.