Giter Site home page Giter Site logo

blastjs's Introduction



๐Ÿ‘‹ Hi! My name is Harry, I'm a self taught developer.
I work with JS but I mostly enjoy working with Meteor framework.

Social


Sponsor

If you like my work and you want to support me, you can send me a tip via

  • PayPal: https://paypal.me/HAdel397
  • Bitcoin: bc1qtpr3tslfyvacjuxxyl9v57gfr4cjvgk4alqpqp
  • Monero: 85rNKrJyw1DFdassuN4KckgPRTrD97pn2Tbgk2AFhVRaLeaJKeqKkoC7qRCvN4o8ryXNfB26YkUf1jnvxDJ1bz3SJGhi4cN

blastjs's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

jankapunkt

blastjs's Issues

#each is not reactive, getting error

Hi,

I have taken the webpack project from here & using blastjs for things I need to implement like Minimongo.

What I am doing is, calling the API & rendering the data & its working fine but when I am adding one more document in the minimongo. I got the error in the console as

image

Exception in queued task Error: Unexpected object in htmljs: [object Object]

Not sure, what is the error & how it could be solved.

Please help.

Also, Please check https://bitbucket.org/znewsham/meteor-blaze/issues/1/exception-in-queued-task-error-unexpected

Example Webpack Project have issues

Hello,

I was using this to build a Website but I am facing issues. The latest one is with the sample project. Sharing the steps to reproduce the error

  1. Step 1 : Clone
  2. Step 2: Install Mini Mongo Package (@blastjs/minimongo)
  3. Step 3: Go to main.js & remove header.html & sidebar.html
    // require('./header.js'); // require('./sidenav.js')
  4. Step 4: Make main.js should look like
    `
import { ReactiveVar } from '@blastjs/reactive-var';
const { LocalCollection } = require("@blastjs/minimongo/dist/local_collection");
export const Data = new LocalCollection("data");

// require('./header.js');
// require('./sidenav.js');
require('./main.html');

Template.main.onCreated(function onCreated() {
  setInterval(function(){
    Data.insert({data: Date.now()})
  },1000);
});

Template.main.helpers({
  allData() {
    return Data.find({});
  },
});

`
Go to inside main.html

<template name="main">
  {{#each allData}}
  {{data}}
  {{/each}}
</template>

This time, everything will work as expected but if you change main.html to this

<template name="main">
  <div> Hello</div>  
  
  {{#each allData}}
  {{data}}
  {{/each}}
</template>

This would stop working. You will not be able to compile using npx webpack

Sharing the logs too
image

Minimongo?

Just came across your handy project! Coincidentally, I made this repo which ported just Tracker and ReactiveVar, so that I could test some Meteor code outside Meteor, but your Blast is quite a bit more extensive (and works just as well -- I tested).

Do you have plans to port over Minimongo? You have some of the dependencies, like DiffSequence, already ported. I'd definitely find this handy for my testing purposes again, but no pressure of course.

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.