Comment

Comment by turnipla

This breaks my use case

    function shorten(text, length)
      const t = document.createElement('input')
      t.maxlength = length
      t.value = text
      return t.value
    }
parent turnipla 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton