Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to choose between JSX and TSX? #10136

Closed
Zardw opened this issue Aug 21, 2023 · 1 comment
Closed

how to choose between JSX and TSX? #10136

Zardw opened this issue Aug 21, 2023 · 1 comment

Comments

@Zardw
Copy link

Zardw commented Aug 21, 2023

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?

Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant