HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
victorqribeiro
TinyApp
JavaScript2025–2025
victorqribeiro / TinyApp

TinyApp

A tiny app to illustrate tiny.js managed state and components

2Distinct people
3Mentions
0Explicit recommenders
24GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A tiny app to illustrate tiny.js managed state and components

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:03:16 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by 3-hour interval3 dated mentions

Observed mentions: 2025-01-26 21:28:23 UTC to 2025-01-30 06:45:46 UTC.

012025-01-26 21:00:00 UTC to 2025-01-27 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsJan 26, 21:002025-01-27 00:00:00 UTC to 2025-01-27 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-27 03:00:00 UTC to 2025-01-27 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-27 06:00:00 UTC to 2025-01-27 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-27 09:00:00 UTC to 2025-01-27 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-27 12:00:00 UTC to 2025-01-27 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-27 15:00:00 UTC to 2025-01-27 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-27 18:00:00 UTC to 2025-01-27 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-27 21:00:00 UTC to 2025-01-28 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-28 00:00:00 UTC to 2025-01-28 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-28 03:00:00 UTC to 2025-01-28 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-28 06:00:00 UTC to 2025-01-28 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-28 09:00:00 UTC to 2025-01-28 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-28 12:00:00 UTC to 2025-01-28 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsJan 28, 12:002025-01-28 15:00:00 UTC to 2025-01-28 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-28 18:00:00 UTC to 2025-01-28 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-28 21:00:00 UTC to 2025-01-29 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-29 00:00:00 UTC to 2025-01-29 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-29 03:00:00 UTC to 2025-01-29 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-29 06:00:00 UTC to 2025-01-29 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-29 09:00:00 UTC to 2025-01-29 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-29 12:00:00 UTC to 2025-01-29 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-29 15:00:00 UTC to 2025-01-29 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-29 18:00:00 UTC to 2025-01-29 21:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2025-01-29 21:00:00 UTC to 2025-01-30 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-30 00:00:00 UTC to 2025-01-30 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-30 03:00:00 UTC to 2025-01-30 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-30 06:00:00 UTC to 2025-01-30 09:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJan 30, 06:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Jan 26, 21:002025-01-26 21:00:00 UTC2025-01-27 00:00:00 UTC110
Jan 27, 00:002025-01-27 00:00:00 UTC2025-01-27 03:00:00 UTC000
Jan 27, 03:002025-01-27 03:00:00 UTC2025-01-27 06:00:00 UTC000
Jan 27, 06:002025-01-27 06:00:00 UTC2025-01-27 09:00:00 UTC000
Jan 27, 09:002025-01-27 09:00:00 UTC2025-01-27 12:00:00 UTC000
Jan 27, 12:002025-01-27 12:00:00 UTC2025-01-27 15:00:00 UTC000
Jan 27, 15:002025-01-27 15:00:00 UTC2025-01-27 18:00:00 UTC000
Jan 27, 18:002025-01-27 18:00:00 UTC2025-01-27 21:00:00 UTC000
Jan 27, 21:002025-01-27 21:00:00 UTC2025-01-28 00:00:00 UTC000
Jan 28, 00:002025-01-28 00:00:00 UTC2025-01-28 03:00:00 UTC000
Jan 28, 03:002025-01-28 03:00:00 UTC2025-01-28 06:00:00 UTC000
Jan 28, 06:002025-01-28 06:00:00 UTC2025-01-28 09:00:00 UTC000
Jan 28, 09:002025-01-28 09:00:00 UTC2025-01-28 12:00:00 UTC000
Jan 28, 12:002025-01-28 12:00:00 UTC2025-01-28 15:00:00 UTC000
Jan 28, 15:002025-01-28 15:00:00 UTC2025-01-28 18:00:00 UTC000
Jan 28, 18:002025-01-28 18:00:00 UTC2025-01-28 21:00:00 UTC000
Jan 28, 21:002025-01-28 21:00:00 UTC2025-01-29 00:00:00 UTC000
Jan 29, 00:002025-01-29 00:00:00 UTC2025-01-29 03:00:00 UTC000
Jan 29, 03:002025-01-29 03:00:00 UTC2025-01-29 06:00:00 UTC000
Jan 29, 06:002025-01-29 06:00:00 UTC2025-01-29 09:00:00 UTC000
Jan 29, 09:002025-01-29 09:00:00 UTC2025-01-29 12:00:00 UTC000
Jan 29, 12:002025-01-29 12:00:00 UTC2025-01-29 15:00:00 UTC000
Jan 29, 15:002025-01-29 15:00:00 UTC2025-01-29 18:00:00 UTC000
Jan 29, 18:002025-01-29 18:00:00 UTC2025-01-29 21:00:00 UTC110
Jan 29, 21:002025-01-29 21:00:00 UTC2025-01-30 00:00:00 UTC000
Jan 30, 00:002025-01-30 00:00:00 UTC2025-01-30 03:00:00 UTC000
Jan 30, 03:002025-01-30 03:00:00 UTC2025-01-30 06:00:00 UTC000
Jan 30, 06:002025-01-30 06:00:00 UTC2025-01-30 09:00:00 UTC101

What Hacker News says

3 sources
A comment on code organisation. https://github.com/victorqribeiro/TinyApp/blob/db92225cfd0ae...: export default function Input(state) { const inp = input({ // ① type: 'number', value: state.count, onchange }) function update() { // ② inp.value = state.count } function onchange() { // ③ state.count = parseInt(this.value) } state.addUpdate('count', update) // ④ return inp } (Labelling comments mine.) This ordering isn’t great: ① refers to ③, and ④ refers to ②. It’d be better to reorder them, at least to swap ② and ③, and remove the blank line separating ② and ④: export default function Input(state) { const inp = input({ // ① type: 'number', value: state.count, onchange }) function onchange() { // ③ state.cou
Read the rest
nt = parseInt(this.value) } function update() { // ② inp.value = state.count } state.addUpdate('count', update) // ④ return inp } But you really can do much better: export default function Input(state) { const inp = input({ type: 'number', value: state.count, onchange() { state.count = parseInt(this.value) } }) state.addUpdate('count', function() { inp.value = state.count }) return inp } At least at this scale, that’s much easier to follow. Inlining can improve other places too (though at larger scales it becomes more debatable): export default function Button(state) { return button({ onclick() { state.count += 1 }, style: { color: 'black', border: 'solid 1px black' }, }, '+ 1') }
In Show HN: TinyJs React like framework in 35 lines of code
atum47·Jan 29, 2025Submission

Show HN: TinyJS – A Minimalist Front End Framework with Managed State

Hey HN! I’ve been working on TinyJS, a small framework designed for managing state and components in a lightweight way. To illustrate its usage, I built TinyApp, a simple example that showcases its capabilities. TinyJS is designed to be minimal but still powerful for small-scale projects. Would love to get your thoughts on it! https://github.com/victorqribeiro/tinyapp
1 points · Open discussion
atum47·Jan 26, 2025Submission

Show HN: TinyJs React like framework in 35 lines of code

Hi HN, I got to work yesterday and today and came up with a very simple way to create and manage state in TinyJS. I end up creating a simple App to illustrate how to use the new createState function and custom components in a React like manner. Here's the code for it - https://github.com/victorqribeiro/tinyapp Here's the PR for the createState function - https://github.com/victorqribeiro/TinyJS/pull/9
43 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.