Where communities thrive


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

    greenkeeper[bot] on webpack-4.41.3

    (compare)

  • 10:13

    greenkeeper[bot] on webpack-4.41.3

    chore(package): update webpack … (compare)

  • Dec 14 20:01
    greenkeeper[bot] labeled #5450
  • Dec 14 20:01
    greenkeeper[bot] opened #5450
  • Dec 14 20:00

    greenkeeper[bot] on semver-7.0.0

    chore(package): update semver t… (compare)

  • Dec 14 16:58
    millette starred canjs/canjs
  • Dec 14 00:14
    greenkeeper[bot] labeled #5449
  • Dec 14 00:14
    greenkeeper[bot] opened #5449
  • Dec 14 00:14

    greenkeeper[bot] on can-super-model-2.0.0

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

  • Dec 14 00:13
    greenkeeper[bot] labeled #5448
  • Dec 14 00:13
    greenkeeper[bot] opened #5448
  • Dec 14 00:13

    greenkeeper[bot] on can-define-rest-model-2.0.0

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

  • Dec 14 00:12
    greenkeeper[bot] labeled #5447
  • Dec 14 00:12
    greenkeeper[bot] opened #5447
  • Dec 14 00:12

    greenkeeper[bot] on can-define-realtime-rest-model-2.0.0

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

  • Dec 14 00:07
    greenkeeper[bot] labeled #5446
  • Dec 14 00:07
    greenkeeper[bot] opened #5446
  • Dec 14 00:07

    greenkeeper[bot] on can-connect-ndjson-2.0.0

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

  • Dec 13 21:27

    greenkeeper[bot] on @octokit

    (compare)

  • Dec 13 21:25

    greenkeeper[bot] on @octokit

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

Frank Lemanschik
@frank-dspeed
:D
i don't plan to use define-map or observe
i only use it as long as needed
i see convertable streams as the holy gral the only problems are the view updates via the canjs eco system
as that is no where explained all i know i know from reverse engineering the hard way
Frank Lemanschik
@frank-dspeed
i only need to find a better way as creating fragments for each variable that changes as this feels so useless
as i can archive the same via dom.select and edit
maybe jsx can help but i don't know how that should work i am doomed :)
Kevin Phillips
@phillipskevin
have you profiled it to confirm there's actually a performance benefit to not creating new fragments?
Frank Lemanschik
@frank-dspeed
performance nope :(
but i see it as double work
and un needed work
as from my view we return html we have html
so we can use after that the dom api for everything
as easy as select <span id="myName">Mr Myer</span>
and then select myName change innerText done
but i performance benchmarked domDiffing
and i think that could be a alternate i simply check if the dom matches if not sync it up async
that outperforms on bigger apps
as we can handle the view as Whole
it don't matters where the changes come from we only need to make sure that view matches whats expected
and many observations arn't needed this way
only the edit able content
Kevin Phillips
@phillipskevin
but you're doing a lot more DOM manipulation
Frank Lemanschik
@frank-dspeed
yes sure but my co workers from chrome and mozilla have improved on that also
and its not about real pefformance
for example often you don't even want to change something in less then a MS
Kevin Phillips
@phillipskevin
its not about real pefformance
what do you mean?
Frank Lemanschik
@frank-dspeed
Material design examples and research
they found out that it feels better to show some loading and transition
Kevin Phillips
@phillipskevin
sure
Frank Lemanschik
@frank-dspeed
even if its not needed there are also time frames that feel diffrent
Kevin Phillips
@phillipskevin
but that kind of thing shouldn't be done at the framework level I don't think
otherwise, you can never have things be fast
Frank Lemanschik
@frank-dspeed
i can via preComputing
i simply prepare what gets computed and insert and change
that dom manipulations are fast
Kevin Phillips
@phillipskevin
but if you have to make 10,000 changes instead of inserting 1 fragment
it won't ever be fast
Anyway, it's good that you're exploring alternatives. I'll be interested to see how it turns out.
Frank Lemanschik
@frank-dspeed
yes i am on that :) since more then 2 years
but good idea
do you got a benchmark for the current implamentation
so i can work against that benchmark?
Kevin Phillips
@phillipskevin
Frank Lemanschik
@frank-dspeed
maybe you did internaly some benchmarks i only need to know the test cases so i know what to imrove
ok so far so good i understand the example :) i will do the same with some of my alternates
Eben
@eben-roux
@frank-dspeed thanks for the feedback
I haven't quite narrowed down when it happens but I have a "standard" route with the associated data