TinyJS

Languages and libraries

javascript ui framework

SHOW HN2025

43points
40comments
#1,370of 3,837 in 2025
Top 36%of 2025 by points

How HN took it

RoastedHalf or more of the comments are critical

3 positive, 2 neutral or asking, 0 mixed, 5 critical, out of 10 comments about the project. Thread score -0.14.

Idea: 1 for, 2 againstExecution: 0 for, 2 againstDesign: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Cool project, encouraging tinkering

    From 1 comment
    • This is cool. Keep up the good work and enjoy tinkering!
      campak on HN

Objections

  • Not really React-like; it is syntax sugar over a global state object

    From 1 comment
    • So, if you are building this off 'window', you are basically just adding syntax sugar to one big global variable. That is absolutely a simple solution to storing state. In one…
      codingdave on HN
  • Does not handle structural changes like adding or removing list items, so code size is not comparable

    From 1 comment
    • While I see a fair bit of elegance in your experiment, IMHO I also think that for it to be React-like and start mentioning code size one should at least handle structural changes…
      whizzter on HN

Questions

  • Whether the state should attach methods to the state object instead of returning a proxy

    From 1 comment
    • ``` const appState = {...state} ``` With that line I end up creating a appState inside the createState function which uses the state dictionary just as a template. Would it be…
      atum47 on HN

Alternatives named

  • React

    From 1 comment
    • I'm guilty of using React as framework to try to copy from. After working with it for the past 5 years I end up wanting something like it but with less bloat to use in my…
      atum47 on HN
  • Preact

    From 1 comment
    • Check out "preact" if you haven't already [0] [0] - https://preactjs.com/
      MarcelOlsz on HN
  • Vue-style templating and Web Components

    From 1 comment
    • I never understood the fascination with JSX. Stuffing HTML into JS? You can stuff JS into HTML natively LOL. Why not use HTML templates and Web Components, or something? I would…
      EGreg on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/42834325)