News for hackers. Stuff that matters.
Re:The Cost of JavaScript Frameworks by seph-reed on Friday May 08, 2020 @02:23PM (#23117847)
I created a framework a year ago and have been battle testing it since. It uses no virtual dom, but still has state management.

I just wanted to say that, because I've been holding it in so long.

Re:The Cost of JavaScript Frameworks by seph-reed on Friday May 08, 2020 @02:57PM (#23118164)
Seriously. I'm kind of excited about it. I definitely discovered something amazing here... I can do more than React, Vue, and Angular combined with a very tiny "framework". It doesn't have a virtual dom, so it's not really a framework, it just makes it quicker and easier to make auto-updating HTML Elements. You could mix it with anything else that uses HTML Elements no problem. Also, it leverages native code for everything, doing as little as possible in JS.

The real trick was something I call Source Derivation (SDx). I'm certain it will be a language level feature 10 years from now.

I'd like to release it soon, but I'm afraid of doing it alone. It's depressing to put a project out there, then have to be alone as nobody cares.

Re:The Cost of JavaScript Frameworks by hewrin10 on Friday May 08, 2020 @04:49PM (#23119291)
Technically, the project is alone and nobody cares right now (obviously due to it being anonymous). So the only way is up!
Re:The Cost of JavaScript Frameworks by seph-reed on Friday May 08, 2020 @05:54PM (#23119950)
Lol. Thanks.

I released some solo albums a long time ago and learned the hard way that sometimes it's better to just keep your passion projects to yourself.

Re:The Cost of JavaScript Frameworks by jimmyspice on Friday May 08, 2020 @03:24PM (#23118446)
where can I read more about SDx? never heard of that term before
Re:The Cost of JavaScript Frameworks by seph-reed on Friday May 08, 2020 @03:54PM (#23118766)
EDIT: I made a really simple demo of SDx. It's missing all of the features for nicer syntax, better performance (derivation batching), and garbage collection features (avoiding direct references). You also can't run derivers inside of derivers. But it gets the idea across.

https://codepen.io/SephReed/pen/gOaeQLv?editors=1010

--------

I made it up, but MobX has some rudimentary implementations of it:

https://mobx.js.org/README.html

Re:The Cost of JavaScript Frameworks by jimmyspice on Friday May 08, 2020 @06:11PM (#23120120)
Thanks, that's a pretty cool demo with almost no code. Seems like a lightweight observable as you say.