Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 16 20:07
    matthewp commented #5384
  • Oct 16 20:06
    matthewp labeled #5384
  • Oct 16 20:06
    matthewp opened #5384
  • Oct 16 19:53
    matthewp opened #5383
  • Oct 16 16:23
    phillipskevin closed #4841
  • Oct 15 21:43

    phillipskevin on master

    Update dist for release (compare)

  • Oct 15 21:43

    phillipskevin on v6.1.1

    Update dist for release 6.1.1 (compare)

  • Oct 15 21:34

    phillipskevin on can-observable-mixin-1.0.2

    (compare)

  • Oct 15 21:34

    phillipskevin on master

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

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

    phillipskevin on can-make-map-1.2.2

    (compare)

  • Oct 15 21:34

    phillipskevin on master

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

  • Oct 15 21:34
    phillipskevin closed #5380
  • Oct 15 20:30
    phillipskevin synchronize #5382
  • Oct 15 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)

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

    phillipskevin on can-simple-map-4.3.3

    (compare)

  • Oct 15 20:28

    phillipskevin on master

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

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

    phillipskevin on can-observable-mixin-1.0.1

    (compare)

Frank Lemanschik
@frank-dspeed
that gets imported via html link rel import
and then this window syncs up with the importing document
so your index html requires legay.html
and legacy.html attaches to your index.html view
legacy sorry not legay
lol
Eben
@eben-roux
but isn't canjs more for displaying things anyway...
Frank Lemanschik
@frank-dspeed
it is for that :)
and it does exactly that
but not in its own window
in this POC
Eben
@eben-roux
I'm sure there are ways to have different versions load but it may be more effort than it is worth
Frank Lemanschik
@frank-dspeed
sure that also possible to load that in the same window
but there is no need for that
import and iframe are good methods
this way every thing works as befor
Eben
@eben-roux
iframe is certainly an option
Frank Lemanschik
@frank-dspeed
needs only some extra lines to target the parent outer window or document
thats it
Viktor Busko
@Lighttree

https://gitter.im/canjs/canjs?at=5a3951e3ffa3e3791958aae3

I was thinking about this issue, that I've asked before and got the idea... what if I list can as peerDependency for my components ? I mean I know that my component should work with ...can 3.x and the only thing that might brake my component is some API change which is fairly rare case. But if I do this way I'll avoid this "2 versions of something found" because entity-details-component will use "host" packages. Well at least I expect it to do this :)

DaveO
@DaveO-Home
@phillipskevin et al. In an attempt to learn about bundlers other than steal with canjs, I put together a small demo @ https://github.com/DaveO-Home/embedded-acceptance-tests. I think it works....
Gregg Roemhildt
@roemhildtg
So I see that react is more performant in this example now? https://output.jsbin.com/wotevub/2 Are you guys seeing the same?
chart.png
This is on Chrome
Brad Momberger
@bmomberger-bitovi
It's consistent with benchmarks provided by others since the release of React 16
Gregg Roemhildt
@roemhildtg
Ah Okay. Are there any comparisons with Canjs/React 16/Angular 4?
Brad Momberger
@bmomberger-bitovi
I haven't seen any. I don't know if it's my own browsing patterns or that performance benchmarks just aren't so compelling anymore, but they don't come across my radar much.
Kevin Phillips
@phillipskevin
@DaveO-Home very cool. Any big takeaways?
DaveO
@DaveO-Home
@phillipskevin - All of the bundlers do the job - I'm partial to Steal because of development from src and simplicity. Fusebox is fast! Actually everyone says how complex webpack is, I did'nt have too many problems with it. Pulled my hair out for some time on Fusebox until I figured out to transpile everthing to typescript. Oh, the issue with Canjs is that one has to develop strip dev block code for bundlers other than steal, maybe an enhancement?
DaveO
@DaveO-Home
Also, Canjs/Steal shines with dynamic loaded modules. Fusebox I think might handle them, but not easy. All of the other bundlers just parse the code looking for modules, thus all module name have to me hard coded, require("something") etc.
Kevin Phillips
@phillipskevin
@DaveO-Home having built, production versions of everything is something other people have asked for too. It's definitely something we'll keep considering.
Frank Lemanschik
@frank-dspeed
@DaveO-Home about the strip in other bundlers you need to code addons for them that simply strip the steal remove comments
but the steal project could offer a codemod for that maybe create a issue in stealjs/steal-tools about that
if you want that this happens
Nico R.
@nriesco
Is it ok form the syntax standpoint to use {{#if (someCondition)}} instead of {{#if(someCondition)}} (a space between if and the opening parenthesis)
my code formatter is getting crazy otherwise
I tested in my code and it works, but I wanted to know if it could eventually cause trouble
Frank Lemanschik
@frank-dspeed
i think
as long as it works simply consider it is intended to do so :)
would be my way of thinking else this is fast search replaced
Viktor Busko
@Lighttree

@DaveO-Home about the strip in other bundlers you need to code addons for them that simply strip the steal remove comments

@frank-dspeed maybe you know the place in stealjs srcs where I can find how steal detects this comment blocks (I guess there is some regex)? I was going to add webpack loader to my prod build for this, but postponed this.

Oh I found it. It's in steal-tools
Nico R.
@nriesco
I have a button like this: <button type="button" on:click="saveAndClose(this)">Save changes</button>
is within a component’s stache
Frank Lemanschik
@frank-dspeed
i have such buttons also
they rock
:D
Nico R.
@nriesco
and the saveAndClose function receives the correct object so everything is ok
But I have a modal that I want to close after saving
Frank Lemanschik
@frank-dspeed
yes thats cool i agree total