Skip to content

oxymarko #6

@Jack5079

Description

@Jack5079

marko can easily do streaming ssr and marko 6 adds resumablity

marko syntax is comically concise:

let/txt = "Hello"
input := txt
p -- the text is ${txt}

vs Svelte 5:

<script>
	let txt = $state("Hello")
</script>
<input bind:value={txt} />
<p>the text is {txt}</p>

or React:

import { useState } from "react"
export default function App() {
  const [txt, setTxt] = useState("Hello")
  return (
    <>
      <input value={txt} onChange={e => setTxt(e.target.value)} />
      <p>the text is {txt}</p>
    </>
  )
}

the marko 6 alpha releases this month

image

Marko Run doesn't let you define routes like @[username] in SvelteKit it has to be just $username so we need to find a way around that

https://markojs.com/playground/v6/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions