mollersuite / oxymoron

[Development hasn't started yet] Good ActivityPub software is an oxymoron
GNU Affero General Public License v3.0
1 stars 0 forks source link

oxymarko #6

Open Jack5079 opened 4 months ago

Jack5079 commented 4 months ago

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/

Jack5079 commented 3 months ago

Alternatively Qwik, but data loading is weirder there as well as everything else