sql-js / sql-js/sql.js

Usage with Reactjs

Offen
#257 6 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
JavaScript
Sterne
13.7k
Forks
1.1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hello i would like to ask you If I'm able to use this lib with react. I downloaded sql.jq file and I'm trying to import it like import {SQL} from "./sql";

but when i start development server i get into some infinite loop. I'm also not able to found some debug logs for what is happening here. The console is stucked on Compiling... message

I also tried to import it using require keyword like const SQL = require('./sql') but it didn't work either.

Many thanks for any help!

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Start by reproducing the reported React development-server hang with the import {SQL} from "./sql" and require('./sql') entry points. Investigate the Compiling... state and available debug output, then document or fix the supported React import path so the library loads without the infinite loop.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript, react
Bereich
databases, frontend, web-dev
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
20/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.