These are chat archives for ractivejs/ractive

19th
Jun 2018
Joseph
@fskreuz
Jun 19 2018 01:15
I guess I'm just allergic to things that are sometimes there and other times undefined/null, and template code that just magically swallows this with a convenient glyph.
Chris Reeves
@evs-chris
Jun 19 2018 01:48
itis handy for configuration-style stuff where there are sensible default, tho
Joseph
@fskreuz
Jun 19 2018 12:26
Random question of the day: Does it make sense to transpile code when writing for Node?
Paul Maly
@PaulMaly_twitter
Jun 19 2018 12:26
I not transpile it
Chris Reeves
@evs-chris
Jun 19 2018 13:46
I've started using ts on the backend, so for that, yeah
the only thing left to transpile for in plain old es is the module system
Cerem Cem ASLAN
@ceremcem
Jun 19 2018 14:24
I've always been using LS so yes, I always prefer transpiling.
kouts
@kouts
Jun 19 2018 14:34
In previous Ractive version (0.9) I had some methods defined in the prototype e.g Ractive.prototype.go_back = function(){ so I could call the in all components as @this.go_back(...
now that resolveInstanceMembers defaults to false
this does not work
Is there any way to define global methods?
Joseph
@fskreuz
Jun 19 2018 14:46
Using @this explicitly should still work.
kouts
@kouts
Jun 19 2018 15:12
yes my mistake
it was another thing alltogether
this still works as expected
Chris Reeves
@evs-chris
Jun 19 2018 16:45
what group chat apps do most people use the days?
it seems like you still are stuck with the choice between easy to discover and join (gitter) and better experience
Cerem Cem ASLAN
@ceremcem
Jun 19 2018 16:51
@evs-chris for what purpose? the developers, or the people in general?
Chris Reeves
@evs-chris
Jun 19 2018 17:05
developers, support, group collab
just seems odd that most things people are using today are siloed off like slack and discord
Joseph
@fskreuz
Jun 19 2018 17:09
I favor Gitter only because I only need a Github account :grin: One less account to worry about.
Also, Slack/Discord effectively become fancy forums if there's not a lot of activity.
Joseph
@fskreuz
Jun 19 2018 17:15
What do people see in Slack/Discord tho? I wonder. Hmmm...
Chris Reeves
@evs-chris
Jun 19 2018 18:42
the main thing I see is something that actually notifies me when there is activity :smile:
I have to manually check gitter to see if anything's changed
Joseph
@fskreuz
Jun 19 2018 18:43
Oooh.
Desktop notifs work fine on gitter tho (assuming the browser allowed it). Not sure on mobile, haven't tried.
Joseph
@fskreuz
Jun 19 2018 19:17
Does anyone have experience using Ractive on Web Extensions (Chrome/Opera/Firefox)?
  • What's your workflow and build process? Do you transpile/compile? Or just target a specific browser?
  • What limitations did you face (aside from getting around CSP)?
  • Did you use modules to separate code? Or did you craft your own system?
  • How did you incorporate third-party modules (i.e. from npm)?
Chris Reeves
@evs-chris
Jun 19 2018 20:20
I haven't actually done it yet, but I've looked into it. I think precompiled components are the way to go. I know CSP is tighter on extensions, but I think if you compile, the only thing that would be dicey (for me) would be generated css. AFAIK firefox and chrome support pretty much the same extension packaging now, so you should be able to hit both of those in one codebase. Not sure about opera, but seeing as it's repackaged and slightly augmented blink, it wouldn't surprise me if extensions for chrome and firefox worked there too.
desktop notification works on gitter, but if you have more than one machine, having gitter open on one will cause notifications on mobile to stop everywhere else
mobile, which is where I am most of the time for my communication stuff, with gitter is very unreliable
Joseph
@fskreuz
Jun 19 2018 20:36
:thumbsup: