#remarkable_unicorn_49527

1 messages · Page 1 of 1 (latest)

lean rockBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

spark kraken
#

Hi @limber prawn I believe you just need to use import { loadStripe } from '@stripe/stripe-js, why do you want to import from '@stripe/stripe-js/pure' ?

limber prawn
#

i want dynamic importing , some of our customers dont use stripe and dont want the calls going when we import statically

#

hwo can we not allow this import for all customers ?

spark kraken
#

Then you should only call loadStripe for those customers who need to use Stripe.

limber prawn
#

loadstripe is the next step ...

#

there are some calls made just beacuase we have added import for stripe

#

as soon as the application loads there are some initializtion calls going on