Where communities thrive


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

    greenkeeper[bot] on @octokit

    (compare)

  • 03:57

    greenkeeper[bot] on @octokit

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

  • Sep 20 21:04
    m-mujica commented #5303
  • Sep 20 20:23
    m-mujica opened #5303
  • Sep 20 20:23

    m-mujica on upgrade-deps

    Update can-type and can-stache-… (compare)

  • Sep 20 20:05
    m-mujica edited #5302
  • Sep 20 20:03
    m-mujica synchronize #5302
  • Sep 20 20:03

    m-mujica on upgrade

    Upgrade routing guide to Can 6 Fix incorrect highlight Use svg images (instead of .png) (compare)

  • Sep 20 19:32
    m-mujica opened #5302
  • Sep 20 19:29

    m-mujica on upgrade

    Upgrade routing guide to Can 6 Fix incorrect highlight (compare)

  • Sep 20 17:42

    m-mujica on upgrade

    WIP: Upgrade (compare)

  • Sep 20 17:06
    do-adams starred canjs/canjs
  • Sep 20 13:34

    chasenlehara on 5119-testing-guide

    Update the Testing guide for Ca… (compare)

  • Sep 20 13:21
    cherifGsoul commented #5295
  • Sep 20 13:18
    cherifGsoul synchronize #5295
  • Sep 20 13:18

    cherifGsoul on update-theme-new-buttons

    Theme pre-release 2 (compare)

  • Sep 20 10:29

    greenkeeper[bot] on socket.io-client-2.3.0

    (compare)

  • Sep 20 10:26

    greenkeeper[bot] on socket.io-client-2.3.0

    chore(package): update socket.i… (compare)

  • Sep 20 06:40
    HellMagic starred canjs/canjs
  • Sep 19 20:42
    m-mujica commented #5119
Justin Meyer
@justinbmeyer
this is a can-connect example, done w/o can.Map
it uses connection.addInstanceReference to keep things in a store, and Object.observe to bind on them
Jani Mikkonen
@rasjani
Hiya, some time ago i promised to do a small blogpost about how to use canjs with webpack ..
blogpost is not yet written - but i had some spare time and i wrote working example on that topic @ https://github.com/rasjani/canjs_webpack
canjs part is very pretty but the main purpose is to actually just show how to build canjs project with webpack so it should be sufficient .. actual blogpost coming next :)
Diana Whitten
@hurgleburgler
@/all When building a component with CanJS ... is there a way to entirely replace the custom TAG in your dom with the contents of its template?
Matthew Phillips
@matthewp
@rasjani awesome
Alexis Abril
@alexisabril
@hurgleburgler You could call replaceWith on the inserted event(I’m not sure how to get a handle to the template offhand), however this sounds like something you could use can.view.attr() for. If you have a use case, it would provide more insight
Justin Meyer
@justinbmeyer
@hurgleburgler could you use a partial?
is a component necessary
@rasjani awesome. But if I might ask, why are you using webpack instead of StealJS?
Gerard Finnerty
@halcyonandon
@justinbmeyer I'm using systemjs and traceur (switching to babel) directly. I saw your talk on stealjs at the palo alto meet up. Since then, I inquired about the state of stealjs and was told it wasn't ready for production yet. Is steal ready for primetime? Is there a blog post or something that speaks to the advantages of steal over using systemjs directly?
Justin Meyer
@justinbmeyer
@halcyonandon steal is used by m.samsclub.com
it's primetime
doesn't compare systemjs directly
oh, btw, for steal questions: https://gitter.im/stealjs/steal
opolyo01
@opolyo01
@justinbmeyer I have a project that have React components and Can components, and client side loader like steal would not be able to transform JSX in React
Justin Meyer
@justinbmeyer
but in short, StealJS has a way better build, can export your modules, and load from npm
@opolyo01 why not?
I assume there are JSX transpilers in pure JS
opolyo01
@opolyo01
can steal does JSX transformation?
Justin Meyer
@justinbmeyer
I bet someone has already written one for SystemJS
(which stealjs can use)
opolyo01
@opolyo01
no, it is not pure JS
it is react specific thingy
Matthew Phillips
@matthewp
if you use babel it will transpile jsx as well
Justin Meyer
@justinbmeyer
@opolyo01 yeah, I know
for example, stealjs can load templates, Less, etc
opolyo01
@opolyo01
it would be awesome if steal could load jsx
Justin Meyer
@justinbmeyer
the same technique can be used to do jsx
but it sounds like bable transpiles jsx anyway
Matthew Phillips
@matthewp
@opolyo01 it can, we have some React users who hang out in stealjs/steal on gitter
Gerard Finnerty
@halcyonandon
@justinbmeyer thanks, what do you mean by load from npm? and export modules? I load systemjs from npm and export modules to where/what? bundling?
opolyo01
@opolyo01
@matthewp any link to example of this?
Justin Meyer
@justinbmeyer
@halcyonandon maybe read that article
steal lets you files from npm
w/o configuration
is an example of writing a less translate hook
something very similar would just have to be done for JSX
Gerard Finnerty
@halcyonandon
"StealJS can export your project into commonly used formats and platforms which can be used to create distributables that can be used in almost any situation:" isn't this what systemjs does?
Justin Meyer
@justinbmeyer
how can you use systemjs to export your project?
afaik, you can't use SystemJS to transpile a ES6 app to CJS, AMD, etc
you can use SystemJS just to load those modules
this allows something like: https://github.com/bitovi-components/bit-tabs
to be used by people using Browserify / RequireJS or plain script tags
this is huge in big orgs b/c you'll have a lot of different projects using different module loaders, but still want to share code
And stealjs goes beyond transpiling just JS, it takes care of LESS / CSS / templates too
so even though bit-tabs is using LESS