Learn how modern JavaScript frameworks work by building one
11–20 of 104 posts
Re: Learn how modern JavaScript frameworks work by building one
#12For an intro from the OG, consider this 6 minute video from Solid [0] or this blog post [1] by Solid's author.
0: https://www.youtube.com/watch?v=cELFZQAMdhQ
1: https://dev.to/ryansolid/building-a-reactive-library-from-sc...
Re: Learn how modern JavaScript frameworks work by building one
#13I am curious, to find the sweet area of maintainability + performance.
Is the problem usually latency ? If you load too many items into a grid view you get performance problems.
Maybe this problem is solved already - Facebook solved it - I would like to be able to create a "weak iterator" that handles forward and back navigation of collections with extremely fast rendering when moved backwards or forwards.
Computers are fast, I like the ideas of immediate mode but they burn CPU.
Re: Learn how modern JavaScript frameworks work by building one
#14Does anyone have a recent one for building RxJS-lite?
Re: Learn how modern JavaScript frameworks work by building one
#15Please, do not build more JS frameworks (see-no-evil emoji).
Re: Learn how modern JavaScript frameworks work by building one
#16I used this to build Svekyll, a Jekyll clone (the original static blog tool).
https://extrastatic.dev/svekyll/svekyll-cli
Not to toot my own horn, but I'm really proud of it. Svekyll scores all 100s with lighthouse but still has all the cool things you get from a Svelte app. It's a true single page app, all JS is inlined and can be put on any web server for hosting. Plus, a bunch of other cool things that only are possible with a native JS blog.
Re: Learn how modern JavaScript frameworks work by building one
#17Earlier quoted context omitted.
Yeah these type of articles always have hypester tone with less substance unfortunately. RiotJS is great but ember.js API/tools are even greater, highly suggest learning ember.js, if you value good APIs, testing & good community ;)
I can't tell if this comment is tongue in cheek or not. The walkthrough on how to build a JS framework from scratch is "hypester" because in the short section that mentions existing frameworks, your pet frameworks weren't included?
Re: Learn how modern JavaScript frameworks work by building one
#18I really love Svelte. The compiler is great and very extensible. For example, you can easily add functions to the processing pipeline to process Svelte templates (or the script elements or style sections) in your own special way. It's a fantastic way to build JavaScript frameworks. Svelte people always note Svelte isn't a framework, so this isn't a framework on top of another framework! I used this to build Svekyll,…
Both Svelte and React are shifting to SSR-first, which is what Vercel can make money with, I read somewhere Vercel had many React core members now, after it bought out Svelte.
Re: Learn how modern JavaScript frameworks work by building one
#19I really love Svelte. The compiler is great and very extensible. For example, you can easily add functions to the processing pipeline to process Svelte templates (or the script elements or style sections) in your own special way. It's a fantastic way to build JavaScript frameworks. Svelte people always note Svelte isn't a framework, so this isn't a framework on top of another framework! I used this to build Svekyll,…
Until svelte can have a client-side router builtin, and treat SPA as its first class citizen(the way Vue.js does so far. React also shifts to SSR-SPA mixed situation jus like svelte, both are impacted by Vercel, which is really sad), instead of just focusing on its sveltekit SSR-first, I have zero interest in it. Yes I know I can customize sveltekit to do SPA, but it's very ugly and I don't need all your SSR mental l…
Re: Learn how modern JavaScript frameworks work by building one
#20I really love Svelte. The compiler is great and very extensible. For example, you can easily add functions to the processing pipeline to process Svelte templates (or the script elements or style sections) in your own special way. It's a fantastic way to build JavaScript frameworks. Svelte people always note Svelte isn't a framework, so this isn't a framework on top of another framework! I used this to build Svekyll,…
Until svelte can have a client-side router builtin, and treat SPA as its first class citizen(the way Vue.js does so far. React also shifts to SSR-SPA mixed situation jus like svelte, both are impacted by Vercel, which is really sad), instead of just focusing on its sveltekit SSR-first, I have zero interest in it. Yes I know I can customize sveltekit to do SPA, but it's very ugly and I don't need all your SSR mental l…
What goes around, comes around. It has always felt like the front-end frameworks, from things like Backbone to React always failed to learn the lessons of history. Preoccupied with being "new" in an area that's rapidly gaining capabilities via the browser.
Re-inventing the wheel isn't difficult. Improving it is.