lukejacksonn

Joined 14 years ago

Karma
35
Submissions
22
Member since
Feb 7
Front end developer from the UK. A passion for good design and ux. Advocating work smart not hard.
View on Hacker News

Recent submissions

Comment · 8 years ago
Also curious.. Wwat would you miss from React if you only used hyperapp?
Comment · 8 years ago
We have something like this for hyperapp (https://github.com/hyperapp/html). The aim of this variant was to experiment to see wether it is feasible to rid of view dependencies (either `h` or precompiled tags like `h1` etc.)
Comment · 8 years ago
Cool implementation. What is JSON about it though? What made you decide to pass children before props?
Comment · 8 years ago
Haha! The main advantage I see in a syntax like this (as supposed to h by hyperapp for example) is.. not having to write `h` all the time, that and optional props.

I have been thinking of adding shorthand for id/classes in the tag name like hyperscript or JSnoX.

That would mean you could write `['input#search.large']`

Comment · 8 years ago
We already have something similar to this at hyperapp.. it is https://github.com/hyperapp/html. But yes, as mentioned by @masklinn, the drawback is you then have to define every element and then import all those definitions. With ijk you can write dependency free views (no import of h or h1, h2, etc.)
Comment · 8 years ago
I got it working with preact.. didn't try with react!
Comment · 8 years ago
I like to write my apps with one language where possible. I find the switch in context to much of an overhead.. but I am aware this is personal preference. Use what makes you happy :) it all gets compiled to vdom trees anyway!
Comment · 9 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton