Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Latest commit

 

History

History
25 lines (15 loc) · 1.13 KB

FAQ.md

File metadata and controls

25 lines (15 loc) · 1.13 KB

FAQ

What are the scaling problems this gem has?

For a detail description of the current architecture's problems, see this Github comment.

A "scalable quilt_rails architecture" was figured out for internal Shopify use.

For external users, you can should skip server-side queries in your components. e.g.:

useQuery(MyQuery, {
  skip: typeof document === 'undefined',
});

I run into webpacker issue while setting up quilt_rails

We suggest using webpack or @shopify/sewing-kit instead of webpacker with quilt_rails for JavaScript build.

Remove webpacker by running bundle remove webpacker and remove any webpacker configuration files (config/webpack and config/webpacker.yml).

Any other files I should remove before running generator?

Other files that often come with default rails scaffolding that can create conflict with quilt_rails setup included .browserslistrc, postcss.config.js, babel.config.js as well as package.json and yarn.lock.