Kite connect for reactjs

anand_r
Hi,
I am trying to integrate kite publisher and kite connect with reactjs for placing an order for a basket of stocks. I checked up "https://kite.trade/docs/connect/v3/publisher/" but I am unable to make it work in my reactjs app.

1. I load the publisher script when the component gets mounted. No error here.
2. When the user clicks the buy button from the component, I call a function which should run the code under the tag. I am unable to compile the code even. "var kite = new KiteConnect(zerodha_api_key);" gives me the error: "Parsing error: Unexpected token"

Can you please point me to the right doc for using kite publisher and kite connect in reactjs? Thanks.


  • rakeshr
    Kiteconnect node client can't be used on the frontend it supports only Node JS.
Sign In or Register to comment.