Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 01:06
    greenkeeper[bot] commented #5422
  • 01:06

    greenkeeper[bot] on @feathersjs

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

  • 00:48

    greenkeeper[bot] on @octokit

    (compare)

  • 00:46

    greenkeeper[bot] on @octokit

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

  • Jan 17 18:14
    patosullivan starred canjs/canjs
  • Jan 17 17:42
    bmomberger-bitovi synchronize #5451
  • Jan 17 17:42

    bmomberger-bitovi on update-deps

    update can-view-live, can-dom-m… (compare)

  • Jan 16 00:11
    greenkeeper[bot] labeled #5458
  • Jan 16 00:11
    greenkeeper[bot] opened #5458
  • Jan 16 00:11

    greenkeeper[bot] on can-simple-dom-1.7.1

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

  • Jan 14 01:51
    likun7981 starred canjs/canjs
  • Jan 13 14:06
    piraz starred canjs/canjs
  • Jan 11 00:56
    KonTrax starred canjs/canjs
  • Jan 10 02:37
    jlburke starred canjs/canjs
  • Jan 09 04:17
  • Jan 09 04:17
    bbbbbroot starred canjs/canjs
  • Jan 06 18:58
    greenkeeper[bot] commented #5442
  • Jan 06 18:58

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

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

  • Jan 06 18:29
    greenkeeper[bot] opened #5457
  • Jan 06 18:29

    greenkeeper[bot] on can-dom-mutate-2.0.8

    fix(package): update can-dom-mu… (compare)

Frank Lemanschik
@frank-dspeed
import {Component} from "//unpkg.com/canes@5.15.0/dist/can.mjs";
import {Component} from "//unpkg.com/canes@5.15.0/dist/can-component.mjs";
Loading of Component from can-component takes 90 requests and execute in under 300ms on http1
watch the network stuff in your browsers debug tools thats the most interristing part as soon as the refactoring is more far this will improve a lot
Frank Lemanschik
@frank-dspeed
can some one enlighten me?
// node listeners
var addNodeInsertionListener = addNodeListener(insertionDataKey, treeDataKey);
var addNodeRemovalListener = addNodeListener(removalDataKey, treeDataKey);
var addNodeAttributeChangeListener = addNodeListener(attributeChangeDataKey, attributeDataKey, true);

// global listeners
var addInsertionListener = addGlobalListener(
    documentInsertionDataKey,
    addNodeInsertionListener
i found this code in can-dom-mutate
for me this looks like addNodeInsertionListener gets set and then gets instanced as empty var?
ah no now i see it there was a ()
:D
sorry
nmingneau
@nmingneau
Screenshot 2018-10-30 at 10.53.17.png
does anyone know what above means?
Frank Lemanschik
@frank-dspeed
@nmingneau i am not sure as i don't writed this messages but for me
it reads like your trying to update a value in a child component
that is not write able
a example for such a situation is when your main component has something that can change bound to something in a sub component that can not change like a getter
@phillipskevin @matthewp
should be able to translate that :)
@nmingneau if you can do a minimal example maybe in a codepen i can tell you whats wrong
Gregg Roemhildt
@roemhildtg
@nmingneau I've been seeing a lot of those also. Not sure what they mean but so far haven't caused an issue. Seems like a child property is setting a parent and vice versa at near the same time so they're trying to update each other.
Like I said though, hasn't appeared to cause an issue yet, so I'd say its safe to ignore, but something to consider in the future for future enhancements might be to log where the property is getting set and what the property name is..etc.
Frank Lemanschik
@frank-dspeed
i am so happy that i never saw this leads me to the conclusion that my new code style keeps me away from doing such stuff
:D
i stoped using stache bindings and all this stache stuff and refactored all to js syntax
Kevin Phillips
@phillipskevin
it probably means that a parent sets a child and the child then tries to set the parent in a cycle
there is actually some ongoing discussion around this warning
Kevin Phillips
@phillipskevin
as discussed on that issue, there might be a bug here
so if you have cases that cause this warning that you think are not real issues, please let us know @roemhildtg @nmingneau
Justin Meyer
@justinbmeyer
yeah, I'm about to publish some better logging on it
nmingneau
@nmingneau
Hi, using assigndeep solved it in my case because the reference is preserved. Not exactly sure why the DefineMap became not settable. The update happened in a route listener in a separately loaded bundle.
Gregg Roemhildt
@roemhildtg
Awesome job on the new vm debug tools guys!
Figured I'd share this with the community
It looks and works amazingly well
drag-resize.gif
Gregg Roemhildt
@roemhildtg
I guess my only suggestion would be a smaller font size perhaps
Kevin Phillips
@phillipskevin
Awesome @roemhildtg. Glad it's working well for you.
Gregg Roemhildt
@roemhildtg
:clap:
Kevin Phillips
@phillipskevin
I'll be tweaking the UX over the next couple days, so I'll bump down the font a bit
there are a couple open issues here: https://github.com/canjs/can-devtools-components/issues that I'm working on
if you find anything else, please feel free to open issues
Gregg Roemhildt
@roemhildtg
Kevin Phillips
@phillipskevin
yeah, that's annoying
if you right click in the devtools panel and click "reload frame" it fixes it
obviously, not a great workaround :smile:
Gregg Roemhildt
@roemhildtg
That's what I'm doing for now. It works fine, but yeah eventually a nice polished devtools will be good, which I'm sure you'll get to. I mean its already so much easier to debug than a year ago, and having the viewmodel editor makes it a lot easier to get others up to speed on the stuff I'm working on
Good documentation is one thing...but being able to play with the viewmodel in dev tools makes it super simple
Kevin Phillips
@phillipskevin
:thumbsup: we'll keep improving it
Gregg Roemhildt
@roemhildtg
I'm thinking I might even build the viewmodel editor into demo projects.
Kevin Phillips
@phillipskevin
yeah, I'm going to post on the forums how to add it to demo pages