Giter VIP home page Giter VIP logo

jsstore-examples's Introduction

JsStore Examples

This project contains several examples for different framework and tools.

Help

Feel free to ask any questions on our gitter channel.

Contributions

All contributions are welcome.

jsstore-examples's People

Contributors

dependabot[bot] avatar ujjwalguptaofficial avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

jsstore-examples's Issues

Need to use JsStore in react without webpack.

I am trying to add JsStore in my react app but getting error as jsstore worker is not defined. How to setup Jsstore worker in react without using webpack? I also tried directly passing the path of jsstore worker to new Worker but its giving an error as "Uncaught SyntaxError: Unexpected token '<'".

4.1.1 breaks worker injection

4.0.6 I had no issues. 4.1.1 with no changes in my code I'm now getting:

connection_helper.ts:43 Uncaught ReferenceError: window is not defined
at Connection.get (connection_helper.ts:43)
at ConnectionHelper.initQueryManager_ (connection_helper.ts:57)
at ConnectionHelper (connection_helper.ts:52)
at new Connection (connection.ts:11)
at DataCache.<instance_members_initializer> (DataCache.js?t=1623074569597:7)
at new DataCache (DataCache.js?t=1623074569597:6)
at DataService.js?t=1623074569597:5

It's throwing the error when I call new JsStore.Connection() before addPlugin is called.

Without web worker example doesnt work - throws error

Im trying to use the without web worker example but it throws error "JsStoreWorker is not defined"
below is my code (in react)
When I do
import JsStore from "jsstore";
it says JsStore is undefined

and when i do
import * as JsStore from "jsstore"; constructor() { this.JsStore = new JsStore.Connection(); }

it throws web worker error

Improve documentation for the vue,js/quasar example

Please, could you improve documentation for vue.js example? Although the code is simple, it is not clear at first what steps must be taken to make it work on a Vue.js project, making the example a trial and error experience. Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.