Hello! I've been encountering this problem every time I try to create an index for my database. I've been using AceBase on the browser-side with IndexedDB, and recreated this problem on Firefox, Chrome, and Opera. Here are the steps to recreate this problem:
npx create-react-app test-acebase --template typescript
- Edit
App.tsx to include these lines:
function App() {
const db = AceBase.WithIndexedDB("test-db");
db.indexes.create("users", "name");
return (
...
npm start
- The error
DataIndex is not a constructor should show up on the browser.
Is indexing not meant to be used on the browser side? Or is there something else going on here? Thank you!
Hello! I've been encountering this problem every time I try to create an index for my database. I've been using AceBase on the browser-side with IndexedDB, and recreated this problem on Firefox, Chrome, and Opera. Here are the steps to recreate this problem:
npx create-react-app test-acebase --template typescriptApp.tsxto include these lines:npm startDataIndex is not a constructorshould show up on the browser.Is indexing not meant to be used on the browser side? Or is there something else going on here? Thank you!