Discussion

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 atum47 1 year ago 40 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton