Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 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
  • Dec 03 14:53
    matthewp commented #5439
  • Dec 03 14:30
    frank-dspeed opened #5439
  • Dec 02 18:13
    greenkeeper[bot] commented #5392
  • Dec 02 18:13

    greenkeeper[bot] on core-js-3.4.7

    chore(package): update core-js … (compare)

  • Dec 02 17:48
    greenkeeper[bot] commented #5392
  • Dec 02 17:48

    greenkeeper[bot] on core-js-3.4.6

    chore(package): update core-js … (compare)

  • Dec 02 15:38
    phillipskevin commented #5438
  • Dec 02 15:38
    phillipskevin closed #5438
  • Dec 02 15:38
    phillipskevin commented #5438
  • Dec 01 23:28
    justinbmeyer commented #5438
  • Dec 01 23:06
    justinbmeyer commented #5438
  • Dec 01 23:06
    justinbmeyer commented #5438
  • Dec 01 23:04
    justinbmeyer edited #5438
  • Dec 01 23:03
    justinbmeyer opened #5438
  • Nov 29 15:01
    cherifGsoul synchronize #5432
Frank Lemanschik
@frank-dspeed
and there are also diffrent other methods to get that
and a iframed window can controll outer window
Eben
@eben-roux
ah, ok
iframe (where is the puke emoticon) :P
I thought iframes are dead... they certainly are hacky though
Frank Lemanschik
@frank-dspeed
no they now become one of the most usefull things ever
but more for isolation and controll flow
not for displaying view able content in them
Eben
@eben-roux
goodness...
Frank Lemanschik
@frank-dspeed
for example i have done the following in production and its stable
i did create a secund html diffrent steal canjs version
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 :)