LRG

#JavaScript

Failing at web components

I think I should know about Web Components™ I have no idea how this is going to work, but I have used Vue & React components in the past. I personally feel like Web Components should be the way forward, but my lazy self has not spent any serious time trying to get to grips with them

but here’s what I imagine a web component might look like. Absolute pseudo-code. I know nothing.

<script>
	// some JS goes in here to make things work
</script>
<template>
	<!-- some HTML goes in here -->
</template>
<style>
	/* some scoped CSS go in here */
</style>

This is probably a reflection of how much time I’ve spent in Vue.js recently, but it’s conceptually what I’m imagining is required to build something as a Web Component.

Read "Failing at web components"

July, 2016

Monday July 4, 2016 - 07:44

Seriously @GNRailUKtwitter.com we don’t really need the heating on do we? Car 72266 0722 ELY-KGX. It’s roasting in here!

❤️ 1 | 🔃 0


Tuesday July 5, 2016 - 21:40

Sideways move for Crabb…

https://twitter.com/BBCBreaking/status/750409824999862273twitter.com

❤️ 0 | 🔃 0


Tuesday July 5, 2016 - 21:44

RT @SaraSoueidantwitter.com : “Monkberry is blazingly fast, small 1kb and simple #JavaScript library for building web user interfaces.”

Read "July, 2016"

May, 2015

Friday May 1, 2015 - 07:24

RT @m_lukaszewskitwitter.com : . @Microsofttwitter.com you doing it right :)

#remote #debugging #framework #mit #opensource #npm

http://vorlonjs.com/vorlonjs.com

❤️ 0 | 🔃 0


Friday May 1, 2015 - 08:33

@shepazutwitter.com : Google’s deprecation of SMIL animation means no SMIL in SVG2 for Noooooo!

https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/5o0yiO440LMgroups.google.com

❤️ 0 | 🔃 0


Friday May 1, 2015 - 17:03

@ShaunDunnetwitter.com dammit. Missed you ;)

Read "May, 2015"

April, 2012

Sunday April 1, 2012 - 01:09

RT @timbraytwitter.com : This probably isn’t funny unless you’re a photog, but if you are it’s pretty funny:

http://goo.gl/fk6hUgoo.gl

❤️ 0 | 🔃 0


Sunday April 1, 2012 - 01:34

@videonastytwitter.com yes it is! you were in Cambridge?

❤️ 0 | 🔃 0


Sunday April 1, 2012 - 11:11

RT @gklsttwitter.com : You’ve heard of forking your code, now Bitbucket introduces spooning, new pair programming. #spooning #bitbucket

Read "April, 2012"