These are chat archives for canjs/canjs

18th
May 2018
Viktor Busko
@Lighttree
May 18 2018 07:53
Hi, is there way to create auto-mounting component in canjs@3 ? Analog of how it works in canjs@4 ?
Julian
@pYr0x
May 18 2018 08:18
you can use done-autorender
or can-autorender
nmingneau
@nmingneau
May 18 2018 09:57
Hi, does anyone know of a functionality to conditionally keep canjs from routing?
Some sort of hook before the routing event would be nice.
We want to make users confirm their routing action so they don't lose data.
Viktor Busko
@Lighttree
May 18 2018 09:59
@pYr0x well... there is one detail that blocking me from using can-autorender I'm using webpack to bundle component, and seems that can-autorender works only in steal builds :|
Julian
@pYr0x
May 18 2018 09:59
why?
can autorender searching a tag and invoke the component
no need for steal
Viktor Busko
@Lighttree
May 18 2018 10:01
I was trying this some time ago, and it wasn't working, but I'll try it again, maybe it will work.
Julian
@pYr0x
May 18 2018 10:06
@nmingneau do you look into the example bitballs?
is there a behavoir?
nmingneau
@nmingneau
May 18 2018 10:07
I did not. I'll have a look.
Julian
@pYr0x
May 18 2018 10:08
or maybe look into the forum
i thought i was reading about that
nmingneau
@nmingneau
May 18 2018 10:12
We don't use server side rendering though. So not sure if this is related.
Julian
@pYr0x
May 18 2018 10:13
no