Runs into "Uncaught TypeError: The "original" argument must be of type Function"
1. start new React app with `npx create-app app`
2. run `npm install cassandra-driver` and add code
Hi I moved your ticket to the NodeJS driver Jira.
The database driver is a server side component, it doesn’t work on the browser.
If you want to add server side code to your react app, you should look into Server Side Rendering (SSR) or creating a web service that serves that information and fetch it from react client side app.
Let me know if I can close the ticket or if you have further questions.
@JorgeBayGondra Thanks so much, I’ll look into SSR!
Ok, I'll close the ticket.
If you have any further question, don't hesitate to reach out. You can also ask questions / doubts on the mailing list: https://groups.google.com/a/lists.datastax.com/forum/#!forum/nodejs-driver-user