Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 13 15:14
    greenkeeper[bot] commented #5375
  • Oct 13 15:14

    greenkeeper[bot] on core-js-3.3.1

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

  • Oct 13 14:49
    greenkeeper[bot] labeled #5375
  • Oct 13 14:49
    greenkeeper[bot] opened #5375
  • Oct 13 14:49

    greenkeeper[bot] on core-js-3.3.0

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

  • Oct 12 18:35
    matthewp commented #5358
  • Oct 12 18:15
    chasenlehara commented #5358
  • Oct 12 06:41

    greenkeeper[bot] on @octokit

    (compare)

  • Oct 12 06:39

    greenkeeper[bot] on @octokit

    chore(package): update @octokit… (compare)

  • Oct 11 19:01
    m-mujica edited #5374
  • Oct 11 19:01
    m-mujica opened #5374
  • Oct 11 19:00

    m-mujica on update-deep-observable

    Update can-deep-observable to l… (compare)

  • Oct 11 18:55
    m-mujica edited #5365
  • Oct 11 18:54
    greenkeeper[bot] labeled #5373
  • Oct 11 18:54
    greenkeeper[bot] opened #5373
  • Oct 11 18:54

    greenkeeper[bot] on can-deep-observable-1.0.1

    fix(package): update can-deep-o… (compare)

  • Oct 11 16:42
    LakshanKarunathilake starred canjs/canjs
  • Oct 11 14:58
    greenkeeper[bot] labeled #5372
  • Oct 11 14:58
    greenkeeper[bot] opened #5372
  • Oct 11 14:58

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

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

Brad Momberger
@bmomberger-bitovi
What's the value for "#"?
Frank Lemanschik
@frank-dspeed
good question :)
it was nothing as it was *
thanks for pointing that out
my codemod did not run right
Brad Momberger
@bmomberger-bitovi
aha.
Yes, the conditions for that warning to fire are if the value of a property definition is undefined or an unknown definition
Also with regards to your question about the _type field, the string 'Artist' isn't a known default type. Was that supposed to be its initial value?
Frank Lemanschik
@frank-dspeed
yes sorry i got that point :)
Brad Momberger
@bmomberger-bitovi
:+1:
Frank Lemanschik
@frank-dspeed
i need to do value: and type on that
Brad Momberger
@bmomberger-bitovi
correct
Frank Lemanschik
@frank-dspeed
but it was some how working befor
i am so happy when all is working again i hate it to convert big apps
need some better ways :)
always try and error takes much time
Kevin Phillips
@phillipskevin
:heavy_plus_sign:
Frank Lemanschik
@frank-dspeed
I hope that when Justin did explain about scope and view I am able to finally just implement streams
The new observation makes me always think with streams we got all that and more
And can also use any input and throw any output no decorations needed
I am sure once we got a layer to easy generate and update values in a template on change we can simply do observation as streams of values
Frank Lemanschik
@frank-dspeed
I am playing around with it a lot I am only not sure about partial paradigm and that maybe I need to create some own stache or mustache implementations I don't know but I don't like the new observation it's same black box as befor but now using proxy's I like proxy's but I don't like libs using them :)
But when any one has a simple idea about how to rerender a value inside a template on change without rerender the fragment let me know
My only idea would be to create extra fragments per value and rerender that
Justin Meyer
@justinbmeyer
Eben
@eben-roux
so... sometimes when I change a route the entire application is reloaded
is there something simple that I am doing wrong?
or does this happen under certain conditions?
Eben
@eben-roux
mmm... come to think of it I have a suspicion it has to do with submit buttons
I probably need to return false on the click or some such
Frank Lemanschik
@frank-dspeed
@eben-roux this happens only if you don't preserve the propertys
one example where i see that happen by design is if your using stache helper like in bitballs
and don't pass back propertys to your routing viewModel
does that make sense or did i write that unclear? sorry if its unclear
it can also often happen if you don't store your promises as propertys
thats why often you will see usersPrimise propertys
and all kind of promise propertys
if you set them they are preserved persisted for the current running state
in general this is i think one of the most complex parts of canjs if your using the define-map observe able
you can return the same data in diffrent ways and it will get handled diffrent for example setting a object as value gets shared over instances
return the same value from a function then it gets cached
also your can-connect behaviors do matter
Kevin Phillips
@phillipskevin
if you find things like this confusing, please open issues
for example we're deprecating this:
setting a object as value gets shared over instances
there's a PR in now to do that in 3.0 and I think it is removed already in 4.0
so if there are other confusing things, we can look to remove them
Frank Lemanschik
@frank-dspeed
@phillipskevin i am only waiting now for justin to explain the view bindings and parsers
then i will implament my nils stream as observable
once i am able to do that