Developers are an infinity stone you didn't know you needed

I should preface this by reminding my audience I love Shopify. Once you're in the swing of things, there's no stopping a developer that knows the API like the back of their hand.

But...

import { animate } from '@planetaria/animaginary'

export function MyComponent({ open, children }) {
  return (
    <animate.div
      in={open}
      animateFrom="opacity-0 scale-95"
      animateTo="opacity-100 scale-100"
      duration={350}
    >
      {children}
    </animate.div>
  )
}

I should preface this by reminding my audience I love Shopify. Once you're in the swing of things, there's no stopping a developer that knows the API like the back of their hand.

But...

At the same time I can admit my love, I also have to be critical to those same tools.

Shopify Apps in particular are a PAIN to configure.

Shopify's API's on the surface appear to be well documented, but it's a facade. Traversing those trenches can be murky, inaccurate, and cause a few bruises.

Here is a small list of 5 pitfalls to look out for when developing a Shopify app for the first....or 10th time.

1. There are multiple APIs to do the same tasks

Well sorta..Shopify offers a REST API and a GraphQL API for their admin functions.

Most of the functions are the same, but some are not. Make sure to check the documentation for all of your use case before you start coding.

For example....

Be weary of different rate limits

There are also some changes that need to be made depending on the use of your app. If you're reading this article you're likely building a private Shopify app.

Admin API (GraphQL) Calculated query cost 50 points/second 100 points/second Admin API (REST) Request-based limit 2 requests/second 4 requests/second

Lorem markdownum, bracchia in redibam! Terque unda puppi nec, linguae posterior in utraque respicere candidus Mimasque formae; quae conantem cervice. Parcite variatus, redolentia adeunt. Tyrioque dies, naufraga sua adit partibus celanda torquere temptata, erit maneat et ramos, iam ait dominari potitus! Tibi litora matremque fumantia condi radicibus opusque.

2. You might get more from Shopify's developer videos than the documentation

There's a style to developing with Shopify. It's implicit, but it's there. The videos of professionals using it show this style much better than the documentation. Here are some examples of my favorite sources that cleared a lot of my questions:

2. Yes, there are two different CLIs

I still haven't figured this one out. But there are two CLIs for scaffolding Shopify Projects. Both use different structures for scaffolding the same type of projects.

Please, stick with this one:

$npx @shopify/create-app@latest

The rest of this article is still in progress.