Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 21:43

    phillipskevin on master

    Update dist for release (compare)

  • 21:43

    phillipskevin on v6.1.1

    Update dist for release 6.1.1 (compare)

  • 21:34

    phillipskevin on can-observable-mixin-1.0.2

    (compare)

  • 21:34

    phillipskevin on master

    fix(package): update can-observ… Merge branch 'master' into gree… Merge pull request #5382 from c… (compare)

  • 21:34
    phillipskevin closed #5382
  • 21:34

    phillipskevin on can-make-map-1.2.2

    (compare)

  • 21:34

    phillipskevin on master

    fix(package): update can-make-m… Merge pull request #5380 from c… (compare)

  • 21:34
    phillipskevin closed #5380
  • 20:30
    phillipskevin synchronize #5382
  • 20:30

    phillipskevin on can-observable-mixin-1.0.2

    fix(package): update can-observ… fix(package): update can-simple… Merge pull request #5372 from c… and 2 more (compare)

  • 20:30
    phillipskevin opened #5382
  • 20:28

    phillipskevin on can-simple-map-4.3.3

    (compare)

  • 20:28

    phillipskevin on master

    fix(package): update can-simple… Merge pull request #5378 from c… (compare)

  • 20:28
    phillipskevin closed #5378
  • 20:26

    phillipskevin on can-observable-mixin-1.0.1

    (compare)

  • 20:26

    phillipskevin on master

    fix(package): update can-observ… Merge pull request #5372 from c… (compare)

  • 20:26
    phillipskevin closed #5372
  • 20:25

    phillipskevin on update-make-map

    (compare)

  • 20:25
    phillipskevin closed #5381
  • 20:21
    phillipskevin opened #5381
Leath Cooper
@IcculusC
lol is bitballs a real thing you made @justinbmeyer
Thomas Sieverding
@Bajix
@justinbmeyer What issue is there here with localStorage?
Justin Meyer
@justinbmeyer
sorry, not localStorage
the problem is with the fall-through-cache
@IcculusC yeah?
@Bajix you could swap the fall-through-cache strategy with cache-requests
and you'd pretty much have what you want
Christopher Oliphant
@RALifeCoach
@justinbmeyer the bitballs example assumes standard API calls. I don’t have control over the API end and that is true for most developers working on legacy systems.
Justin Meyer
@justinbmeyer
sure, but that has nothing to do with using "inserted" to load data
Thomas Sieverding
@Bajix
Ok
Leath Cooper
@IcculusC
just curious, I looked at you guys for a job a while back and saw that you are CEO and "basketballer"
Christopher Oliphant
@RALifeCoach
I would love to use stache loading, but I spent 4 days beating my head against that wall before conceeding defeat
Justin Meyer
@justinbmeyer
I'm not sure what stache loading is
@Bajix cache-requests always will hit what's in the store
so if you loaded all data ... then loaded a subset ... it will never go back to the server
it's really good for real-time
Thomas Sieverding
@Bajix
@justinbmeyer What would prevent it from automatically using data-url?
Justin Meyer
@justinbmeyer
it uses data-url if it doesn't have the data already
say you wrote
Todo.getList({})
it would hit GET /todos
then you wrote
Todo.getList({userId: 5})
Christopher Oliphant
@RALifeCoach
Referencing the superMap tag in the stache file, showing “Is Loading” while isPending is true, and then displaying the the stache for the component, once the data is loaded.
Justin Meyer
@justinbmeyer
it would use the todos returned by {}
Thomas Sieverding
@Bajix
For my use case, I want to explicitely disable data-url
Justin Meyer
@justinbmeyer
not for the first load though right?
Thomas Sieverding
@Bajix
As the data will be loaded after the fact
I’m delaying loading findAll until a websocket connection is established
Justin Meyer
@justinbmeyer
@RALifeCoach ok ... but that's different than what I'm talking about
Thomas Sieverding
@Bajix
Then I’m loading based off of time, and letting my websocket connection publish going forward
Christopher Oliphant
@RALifeCoach
Sorry, there are several different conversations going on at once
Justin Meyer
@justinbmeyer
@Bajix what do you mean by "based off time"?
sounds like you need a data-websocket behavior.
Thomas Sieverding
@Bajix
I have a creation time on my data, and I would want to query things created before connecting, but after the crreation time of the last thing cached
Justin Meyer
@justinbmeyer
ah ... last thing cached in localstorage?
Thomas Sieverding
@Bajix
Yes
Justin Meyer
@justinbmeyer
this is a perfect opportunity for a behavior
Thomas Sieverding
@Bajix
Oh?
Justin Meyer
@justinbmeyer
like .. this is exactly the scenario can-connect was built to handle
Thomas Sieverding
@Bajix
I know ;p
Justin Meyer
@justinbmeyer
well built to be ABLE to handle
doesn't handle it
Thomas Sieverding
@Bajix
Though I don’t see why data-websocket would be a behavior
Justin Meyer
@justinbmeyer
you query the websocket once it's connected for the new things right?
Thomas Sieverding
@Bajix
Nope
Though I suppose I could do it that way
Justin Meyer
@justinbmeyer
when / how do you query the new things?
Thomas Sieverding
@Bajix
I would query things using findAll after my websocket connection is online
Justin Meyer
@justinbmeyer
oh ... I would fire getList and forget