lukejacksonn / lukejacksonn/ijk
Using with @hyperapp/router
- Dominant language
- JavaScript
- Stars
- 470
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
I was unable so far to find a way to use ijk with @hyperapp/router (entirely). Have you ever?
I thought was almost there but I got stuck on (below):
```
const view = () =>
h(
"div",
null,
h(
"ul",
null,
h("li", null, h(Link, { to: "/" }, "Home")),
h("li", null, h(Link, { to: "/about" }, "About"))
),
h("hr"),
h(Route, { path: "/", render: home }),
h(Route, { path: "/about", render: about })
);
```
I did not find a way to turn this `h(Link, { to: "/" }, "Home")` to "ijk"...
And this `Link({ to: "/" })` does not seem to work at all...
I'm looking into this for a few days now but I got no more clues at the moment. Are they even compatible? Or, of course they are, and am I just being silly? ¯\\_(ツ)_/¯
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the issue's view example and trace the h(Link, { to: "/" }, "Home"), Link, and Route usages against ijk's available entry points. No repository files or tests are named, so first establish whether these APIs can interoperate. Done means a confirmed compatibility answer or documented integration path, including the unresolved Link conversion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100