stripe-terminal-react-native icon indicating copy to clipboard operation
stripe-terminal-react-native copied to clipboard

is there a way to work with library without the hook api ?

Open a-eid opened this issue 5 months ago • 7 comments

is there a way to simply work with the api without the hook api like so.


if(!isInitialized){
  await initialize()
}

await discoverReaders()
await connectReader(...)

I think the hook api decision was misfortune, as it complicates things .... it would've be so much easier.

thanks.

a-eid avatar Jan 28 '24 01:01 a-eid