JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
Feb 27, 2019 19:44
and have all components inherit from it
Feb 27, 2019 19:43
create a base component class and inject into that
Feb 27, 2019 19:42
injection
Nov 5, 2018 10:47
but it doesn't seem to work
Nov 5, 2018 10:47
to use actual vscode in the browser
Nov 5, 2018 10:47
there's a new feature on codesandbox.io
Nov 5, 2018 10:35
ironic af
Nov 5, 2018 10:35
using the shiniest js tech with iframe hacks
Nov 5, 2018 10:35
it's pretty glorious with iframes
Nov 5, 2018 10:34
heh
Nov 5, 2018 10:33
I just did
Nov 5, 2018 10:33
it doesn't work, inner modules don't get fetched
Nov 5, 2018 10:33
no
Nov 5, 2018 10:33
guess the cache is per window object
Nov 5, 2018 10:32
anyway, I "solved" it with iframes lol
Nov 5, 2018 10:32
that doesn't exist when just getting normal scripts
Nov 5, 2018 10:32
there's some hidden cache
Nov 5, 2018 10:32
it's not as usual imo
Nov 5, 2018 10:32
so stuff imported in the versioned module would need a version too
Nov 5, 2018 10:31
old version trick is fine but the point is having modules
Nov 5, 2018 10:06
are esm modules a meme
Nov 5, 2018 10:06
is there seriously no solution for this lol
Nov 5, 2018 10:05
8
Q: How do I cache bust imported modules in es6?

spinnersES6 modules allows us to create a single point of entry like so: // main.js import foo from 'foo'; foo() <script src="scripts/main.js" type="module"></script> foo.js will be stored in the browser cache. This is desirable until I push a new version of foo.js to production. It ...

Oct 14, 2018 23:27
I have no idea what you are talking about
Oct 14, 2018 23:24
@DavidKamer what do I think about what
Oct 14, 2018 23:23
@BenFortune ah, yeah
Oct 14, 2018 22:15
being able to misuse component state doesn't mean you don't need a store
Oct 13, 2018 08:19
@BenFortune what
Oct 7, 2018 11:11
@MadaraUchiha that's pretty accurate
Sep 25, 2018 03:49
Any tips?
Sep 25, 2018 03:49
In vs code, I made a jsconfig file and go to definition works but not find all references
Sep 4, 2018 03:08
it's not related to nodemon
Sep 4, 2018 03:08
your node program is exiting
Aug 28, 2018 18:02
oops
Aug 28, 2018 18:02
.,iiiiiiiiiiiiiiijkiiiilkolkjolkjiiiikllkiooooooolllkjjjjjjjjjjjjiuuujjjjjukiki
Aug 28, 2018 09:52
@BenjaminGruenbaum sad but true
Aug 28, 2018 09:50
@MadaraUchiha chicken and egg?
Aug 28, 2018 09:50
it's software, not a car model
Aug 28, 2018 09:49
why is the correct way to count by years
Aug 28, 2018 09:46
well, if metadata is only concerned with the object and that object is gone...
Aug 28, 2018 09:45
@BenjaminGruenbaum hmm, not following
Aug 28, 2018 09:44
wouldn't the key be the object
Aug 28, 2018 09:44
idk, having the objects "carry" the metadata can be useful
Aug 28, 2018 09:43
@KarelG hi
Aug 28, 2018 09:43
okay, nevermind
Aug 28, 2018 09:42
wait
Aug 28, 2018 09:42
Aug 28, 2018 09:42
I have a screenshot
Aug 28, 2018 09:41
the original snippet