Questions tagged [polaris]

Polaris is a react library provided by Shopify to keep the third party app User Interfaces consistent with the admin theme in Shopify shops.

98 questions
0
votes
1 answer

How can I prevent a Shopify Polaris React app from connecting to Shopify service too soon?

I'm new to react and I'm trying to build a basic Shopify app using React and the Polaris React suite. TL:DR; How can I prevent a React component from rendering until data has been fetched asynchronously from the server? OR What is the correct…
andrew
  • 9,313
  • 7
  • 30
  • 61
0
votes
1 answer

How to connect React App with Shopify App?

I'm new to shopify-App developmet and came across Polaris, react library provided by Shopify for consistent user-interface development. My ideas is to build a Node.js Express App to authenticate and install the app and to process data and have a…
Achala Dissanayake
  • 810
  • 3
  • 16
  • 33
0
votes
1 answer

Adding loading state on button - Reactjs Shopify Polaris

I am trying to add loading state on button when user clicks login until login function return something. Simple button is like: And loading button is like:
0
votes
1 answer

Shopify Polaris + React + Rails

I have struggled now for some days to get those 3 to work together for Shopify Embedded App: Polaris + React + Ruby on Rails 5. Polaris is this: https://polaris.shopify.com Is here somebody, who has got it all working together in Shopify Embedded…
Maris
  • 664
  • 1
  • 5
  • 15
0
votes
0 answers

Why is VRPN reporting such variable tracking data for a stationary object?

I am currently attempting to use the Virtual Reality Peripheral Network (VRPN) to connect a NDI Polaris Spectra optical tracking device to the Vizard VR software. The ultimate goal is to use the device for head and tool tracking. The software that…
Evan
  • 1
  • 4
-1
votes
1 answer

element.scrollTo api not working when adding behavior param

element.scrollTo api not working when adding behavior param code: scrollRef.scrollTo({ top: 100, behavior: 'smooth', // no scroll when add behavior }) Is it caused by using the Modal component of @shopify/polaris? Does anyone know why behavior…
rikki
  • 1
  • 1
-1
votes
3 answers

Why does my array keep outputting [object]?

I am trying to use a forEach loop to return a component for each item in an array. However, when my react app loads it just returns [Object] over and over again. Why is this and how do I fix it? Here is the code: const ProductList = () => { let…
AlexTWO
  • 61
  • 6
-2
votes
1 answer

'cmake' is not recognised as an internal or external command - Polaris

My clone project path from github "C:\Users\Addy\Documents\polaris\" I have created build directory "C:\Users\Addy\Documents\polaris\build" From cmd.exe I access build directory path "C:\Users\Addy\Documents\polaris\build" And run this command …
1 2 3 4 5 6
7