Results 125 comments of Dave Brophy

Hey Hajime! I’m taking a break from open source and hiking across Nepal for five months. Unfortunately I won’t have my laptop until September. Today is the first internet I’ve...

Hey guys, I've upgraded jsgo to the latest GopherJS and I think this is resolved now... Let me know if it's fixed for you...

I'll have to investigate this. As far as I know I haven't changed the actual init code. My bootstrap code runs before the init - gets all the packages loaded...

Hey there! Author of `dst` here... It should fix this problem. If you give it a go, let me know how it works...

Ha loading packages at runtime is definitely possible... I ran some tests a while ago... it’s pretty complex though because you need to get the dependencies for the new package...

I was looking at converting this project to jsgo but got stuck with all the node build stuff. I stay away from node unless absolutely necessary 😉

Got it working! https://jsgo.io/dave/go-hackernews Recompile here: https://compile.jsgo.io/dave/go-hackernews Source: https://github.com/dave/go-hackernews

Yes with a cold cache the jsgo page will be a bit bigger, because it has to disable DCE (dead code elimination). The benefits come when you deploy a new...

BTW if you really wanted to optimise the performance of jsgo, you could take the contents of the [loader js](https://pkg.jsgo.io/github.com/dave/go-hackernews.53903300da4bc3888d06dd81575edb457d6d0996.js) and add it to your index page. This would change...