mirror of
https://github.com/appy-one/acebase.git
synced 2026-05-25 06:02:14 -06:00
[GH-ISSUE #44] (React TypeScript) TypeError: DataIndex is not a constructor #38
Labels
No labels
IndexedDB
browser
bug
dependencies
documentation
duplicate
enhancement
feature request
indexes
indexes
invalid
pull-request
query
question
transaction logging
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase#38
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Devwulf on GitHub (Oct 5, 2021).
Original GitHub issue: https://github.com/appy-one/acebase/issues/44
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!
@appy-one commented on GitHub (Oct 8, 2021):
Indexing is not yet available in the browser implementation, currently only for binary databases in node.js. It's on my todo list, can't say when I'll be able to build it though.