Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 18:59
    cherifGsoul review_requested #5443
  • 18:59
    cherifGsoul opened #5443
  • 18:51

    cherifGsoul on document-inserted-removed-can6

    Add inserted/removed events to … (compare)

  • 15:38
    greenkeeper[bot] labeled #5442
  • 15:38
    greenkeeper[bot] opened #5442
  • 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)

  • Dec 06 18:40
    cherifGsoul review_requested #5441
  • Dec 06 18:39
    cherifGsoul opened #5441
  • Dec 06 18:22

    cherifGsoul on update-infrastructure-page

    Update infrastructure page with… (compare)

  • Dec 06 18:14
    greenkeeper[bot] commented #5422
  • Dec 06 18:14

    greenkeeper[bot] on @feathersjs

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

  • Dec 06 18:11
    greenkeeper[bot] commented #5401
  • Dec 06 18:11

    greenkeeper[bot] on @feathersjs

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

  • Dec 04 22:03
    chasenlehara opened #5440
  • Dec 04 22:03
    chasenlehara labeled #5440
  • Dec 04 19:18
    cherifGsoul review_requested #5432
  • Dec 04 14:09
    m-ahmadi starred canjs/canjs
  • Dec 04 10:52
    ansyeow starred canjs/canjs
Frank Lemanschik
@frank-dspeed
dispatch
Justin Meyer
@justinbmeyer
it's not dispatch
(though a dispatch happens)
I'd look it up but in the middle of something
Frank Lemanschik
@frank-dspeed
i saw in some examples that there was custom dispatch on stuff like
can-define backup
thats why i got that idea
Justin Meyer
@justinbmeyer
essentially you would need to re-create what the normal .save() does on every item in the list
Frank Lemanschik
@frank-dspeed
thats correct
it will call some defineMap methods
maybe set ? update somestuff like that
i use that methods when i don't use can connect
to directly update instances
or save maybe as i remember uses the methods
added by can connect
!
this are the right api's i think to tigger updates
the crud methods
Mike 'mitch' Mitchel
@mikemitchel
added the .sort method back to can-list 4.2.0
https://github.com/canjs/can-list/releases/tag/v4.2.0
kostya.aderiho
@kaderiho
according to your comments @frank-dspeed @justinbmeyer I need to write custom implementation updateListData in order to send one PUT request with list inside of body?
Frank Lemanschik
@frank-dspeed
right
@kaderiho
kostya.aderiho
@kaderiho
okey, thanks everyone
Gregg Roemhildt
@roemhildtg
Hi guys, did logging change in a recnet version of can-stache?
I'm seeing lots of new logs (in a production webpack build).
image.png
Sorry, that wasn't in a production build. Nevermind that message :0
Kevin Phillips
@phillipskevin
@Lighttree, about :point_up: October 31, 2018 5:34 AM
There is no difference between those get syntaxes
I always use get someProp() { ... } unless I need to pass arguments (for async getters)
then it has to be
someProp: {
  get(lastSet, resolve) {
    // ...
  }
}
the standard getter syntax (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get) doesn't allow arguments
Jeroen Cornelissen
@jeroencornelissen
@matthewp @justinbmeyer @frank-dspeed yes, looks like that was my code with some additions from Justin.
We kind of stopped using can-connect, because our backend now is more event-driven. So we have an endpoint for almost every property on a model, eg /item/change-color or /item/change-title, … So we just can’t call save or destroy, we now use a custom “http-handler” and update the props on our model or do a splice/push on a Model.List.
Frank Lemanschik
@frank-dspeed
@jeroencornelissen its a bit like me
i also stream my changes into the Maps and Lists my self
else i could not add behavior as needed
@jeroencornelissen i need to play more with the symbol interface the others added i think justin was that
this should enable to do custom stuff more easy via some key symbols like onValue but i still don't full get what kind of API design this should be
:D
so i started refactoring canjs to canes to be more readable and understand able
Jeroen Cornelissen
@jeroencornelissen
What do you mean, stream changes into Maps?
Frank Lemanschik
@frank-dspeed
@jeroencornelissen i use for every application always streams so i have a stream that sets and reads values into a can.DefineMap Instance
for example
so i have a stream interface into and out of my DefineMaps and Lists
i am preparing that production ready at present under the Code Name canes
it merges my effort to drop all the old stuff and layers that are needed by CanJS/DoneJS
i want to have a version that uses Streams where possible and runs in every new nodejs version and every new browser
out of the box when coding EMCA Style + WASM workers