Open mcarry1 opened 1 year ago
Most probably you are in development mode, right? This usually occurs in React when using strict mode.
More info here https://legacy.reactjs.org/docs/strict-mode.html#detecting-unexpected-side-effects
@MrCookiez yes i am in development mode. Thanks for the response
Why does it happen with chargbee component only though? I never had this issue before with any of my own components, or any other component to be fair.
I am seeing the same issue.
when i am using card component from chargbee-react-js-wrapper i am getting wierd output. as shown in below attachments placeholder is being shown two times. Also i pass onload function to this component then i am getting 2 console logs that means two card are getting rendered that's why this issue is coming
![image](https://user-images.githubusercontent.com/126597570/225228474-b7db5763-dfbe-4a3c-b245-2e94416891a9.png)
this is coming from below file of your code![image](https://user-images.githubusercontent.com/126597570/225236808-30b25714-442b-4158-9286-8d57600d2dab.png)