Skip to content

Commit 73119c8

Browse files
vchaindzclaude
andcommitted
fix: Revert to stable state before React Query dynamic imports
- Reset to commit 794b474 which worked without forwardRef issues - Remove all CDN loading workarounds and custom plugins - Fix TypeScript errors in JSONIC hybrid loader - Use normal React bundling through Vite without external dependencies - Eliminate multiple React instances issue by avoiding dynamic imports This returns the codebase to a clean state before the React Query integration that caused the forwardRef issues. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 794b474 commit 73119c8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

public/data/database.jsonic

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

public/data/database.jsonic.gz

-13 Bytes
Binary file not shown.

src/jsonic/hybrid-loader.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ export class HybridJSONIC {
7575
*/
7676
private async loadCore(): Promise<void> {
7777
// Import existing JSONIC implementation
78-
const jsonicModule = await import('../../utils/jsonic-wrapper');
79-
this.db = jsonicModule.JSONIC;
78+
const jsonicModule = await import('../../services/jsonicService');
79+
this.db = jsonicModule.jsonicService;
8080

8181
this.loadedFeatures.add('core');
8282
featureDetector.registerFeature('core', this.db);
@@ -191,7 +191,7 @@ export class HybridJSONIC {
191191
getStats() {
192192
return {
193193
mode: this.config.mode,
194-
loadedFeatures: Array.from(this.loadedFeatures),
194+
loaded: Array.from(this.loadedFeatures),
195195
pendingLoads: Array.from(this.loadingFeatures.keys()),
196196
...featureDetector.getStats()
197197
};

0 commit comments

Comments
 (0)