checkout

tufanmerve
Shopify Partner
1 0 0

can ı use react hooks like usestate or useEffect in checkout extension app

 

Reply 1 (1)

chriscoyne
Shopify Partner
7 0 2

Yes, you are able to use react hooks in checkout extensions. For example:

import { useState, useRef, useEffect } from "react";