Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • 18:34
    greenkeeper[bot] labeled #5444
  • 18:34
    greenkeeper[bot] opened #5444
  • 18:34

    greenkeeper[bot] on can-observable-mixin-1.0.7

    fix(package): update can-observ… (compare)

  • 18:30

    cherifGsoul on update-infrastructure-page


  • 18:30

    cherifGsoul on master

    Update infrastructure page with… (compare)

  • 18:30
    cherifGsoul closed #5441
  • 18:30
    cherifGsoul closed #5417
  • Dec 10 17:40
    cherifGsoul review_requested #5443
  • Dec 10 16:47
    cherifGsoul review_requested #5441
  • Dec 10 16:35
    cherifGsoul synchronize #5441
  • Dec 10 16:35

    cherifGsoul on update-infrastructure-page

    Fix typos (compare)

  • Dec 10 10:01
    jkeruzec starred canjs/canjs
  • Dec 09 18:59
    cherifGsoul review_requested #5443
  • Dec 09 18:59
    cherifGsoul opened #5443
  • Dec 09 18:51

    cherifGsoul on document-inserted-removed-can6

    Add inserted/removed events to … (compare)

  • Dec 09 15:38
    greenkeeper[bot] labeled #5442
  • Dec 09 15:38
    greenkeeper[bot] opened #5442
  • Dec 09 15:38

    greenkeeper[bot] on can-view-live-5.0.1

    fix(package): update can-view-l… (compare)

  • Dec 08 21:21
    greenkeeper[bot] commented #5392
  • Dec 08 21:21

    greenkeeper[bot] on core-js-3.4.8

    chore(package): update core-js … (compare)

Frank Lemanschik
the bundels are including the needed code but i think some init stuff is needed that not done automaticly
i think as steal optimize gets the index.stache!done-autorender
it should autorender as expected behavier right?
Chasen Le Hara
^ I don’t think we’ve finished making the optimized builds work in a regular DoneJS app, maybe @matthewp can comment though
Matthew Phillips
Optimized builds do not work with done-autorender apps, that is correct.
Going to start working on it soon hopefully.
Nico R.
Hi, I found this in the docs: https://canjs.com/doc/can-validate.html but couldn’t understand how to use it in a form, any ideas?
I was looking for an easy way to support HTML “required” fields
Nico R.
or providing a custom method
We get a lot of warnings about a property that is not in the current scope and that the property is read from the parent scope. It is resolved when we do {{ ../myprop}} instead of {{myprop}} but is this the right way to solve these warnings?
Kevin Phillips
Sorry the docs that warning links to haven't been published yet. There are a few ways to resolve this
Hopefully you can read that. Yes, if you want to read the prop from the parent scope, ../myProp is the correct way to do it.
Kevin Phillips
if there are places where you think ../myprop isn't the right way to do it, let us know @swipie
Brad Momberger
Got ninja'd by @phillipskevin, but I was going to add that reading explicitly from the scope level where your prop exists will help ease the upgrade process to future major revisions of can-stache
Frank Lemanschik
lol ninjaed
new term :)
i use normaly outsmartned
Brad Momberger
It's not quite outsmarted, just that someone else got in a correct or agreeing response while you were composing your own.
Frank Lemanschik
ok if you say so
Frank Lemanschik

Streaming can-component

const Nils = require('../../')
const defineMap = require('can-define/map/map')
const Component = require('can-component')
const view = require('index.stache')

const app = new Nils()

const viewModel = defineMap.extend({sealed: false},{})

// Init ViewModel
// could be also a defineMap->Stream
  inputX: '',
  inputY: ''
// Observe DOM Elements
// return { update, assign }
  return { inputX: val }
    return { inputY: val }
// Returns the ViewModelUpdating State aka can-x-connect :)
// This can also be a complet Can Component
// its only for demo
.loop(function applyVM(lastSetVal, setVal){
  let seed = lastSetVal.viewModel.updateDeep(setVal)
  return return { seed, value: seed };
  tag: 'kasse-login',
// Acticvate the Stream All gets executed as sideEffect
what do you think about that?
for small components you can even drop can component and directly render stach
Brad Momberger
You named your app for @nlundquist ?
Frank Lemanschik
no thats the name from my son
here you can read about Nils

What is Nils?

Nils is the short form of Nikolaos (Santa Claus) it is composed from the greek words Nike and Laos

    Nike = Winner

    Laos = Public

= Winner of the Public! It offers DOM Diffing, Streams, Workflows for WebDevelopment
i am at present composing a new framework
that is canjs compatible
as i use canjs as legacy layer for old browsers
i simply take a little stuff from canjs like can-component for compatiblity with browsers that don't support web components
rest ist webcomponent based
and my standart observe able is not can-compute its a stream
the stream is A+
Promise compilant
i also will use steal for easyer development
but a total new ssr technology
here you see a rendered component where i atach the viewModel as soon as JS gets executed
that allows me to return fast simple html
Frank Lemanschik
the core framework turns any HTML into Observe Able :)
thats why it includes domDiffing
the component isolation encapsulation happens already as webcomponent
incremental loading and such stuff is a standart feature
and the standart behavier
it even got incremental rendering line by line :)