Troubleshooting Typesense Installation in a React JavaScript App
TLDR Lukas faced difficulty with installing Typesense in a React app for full text search. Jason confirmed Typesense works with JavaScript and advised to disregard Typescript type warnings.
Jul 15, 2021 (30 months ago)
Lukas
06:57 PMimport Typesense from 'typesense'
I just get that Typesense is Undefined, so I guess it doesn't work with javascript? has anyone had any success with full text search with firestore?
Jason
06:59 PMLukas
07:00 PMJason
07:01 PMLukas
07:27 PMnpm install --save typesense
Jason
07:48 PMJason
07:49 PMTypesense
Indexed 3011 threads (79% resolved)
Similar Threads
Issues with Typesense.Client in React Native
kurt is experiencing issues with Typesense.Client instantiation in React Native, despite correct imports and code. Jason couldn't identify immediate issues, but agreed to troubleshoot with a simplified reproduction app.
Issue with Typesense Adapter in React Search Box
Nikunj encountered an error with Typesense adapter, and Jason suggested using 'typesense-js' for building their custom UI.
Typesense-JS Client Types Importation Problem.
Stefan had problems importing types from typesense-JS, causing compiler slowdowns. Jason and Damian provided guidance and agreed to export necessary types from Typesense.ts, improving import speed and reducing compiler checks.