polaris icon indicating copy to clipboard operation
polaris copied to clipboard

how to choose between JSX and TSX?

Open Zardw opened this issue 2 years ago • 1 comments

I am starting to learn how to develop shopify app, it recommand us to use Remix with Polaris, but I found Remix recommand using tsx, but the app that shopify cli created is using jsx, and some components of Polaris will show errors in jsx file, and doc of shopify polaris is using tsx in codesandbox. I am very confused, which one shoud I choose? Also, is about Route: when file name is 'settings.jsx', when I go '[app_name]/settings', it will show error, notes that "No Features were provided." or "No i18n was provided." when file name is 'app.settings.jsx', page will show normally, but the url is '[app_name]/app/settings', the '/app/' is in url, it's not I want. did i miss something?

Zardw avatar Aug 21 '23 09:08 Zardw

Hi! We noticed there hasn’t been activity on this issue in a while. After 30 days, it will close automatically.

If it’s still relevant, or you have updates, comment and let us know. And don’t worry, you can always re-open later if needed.

github-actions[bot] avatar Feb 18 '24 03:02 github-actions[bot]