Re:What's TypeScript compiling? Use a treemap to find out
by ptx on Monday August 01, 2022 @04:42PM
(#32311776)
> If you bring HTML rendering to the client
The client being the browser? Isn't HTML rendering what it does? What kind of HTML rendering are you talking about?
Re:What's TypeScript compiling? Use a treemap to find out
by helloguillecl on Monday August 01, 2022 @05:35PM
(#32312335)
You render HTML with React or PHP.
The browser renders a webpage using the rendered HTML, CSS and sometimes Javascript.
Re:What's TypeScript compiling? Use a treemap to find out
by ptx on Monday August 01, 2022 @05:44PM
(#32312432)
Ah, I see. I don't see why you need tons of libraries, or any libraries at all, for that though. (And you don't even need to render any intermediary HTML if you use the DOM API.)
Re:What's TypeScript compiling? Use a treemap to find out
by nawgz on Monday August 01, 2022 @04:09PM
(#32311427)
I don't really follow your overall point. The discussion was around how "frameworks are huge", and now you're saying... You need other libraries than the framework for HTML rendering?
> There are several GraphQL libraries
And some of them are tiny, which is antithetical to your previous point...
Re:What's TypeScript compiling? Use a treemap to find out
by helloguillecl on Wednesday August 03, 2022 @08:31AM
(#32330818)
No discussion is about the architectural model, not only frameworks.
Do client side rendering of HTML and you’ll need libraries, just like you do on the backend.
There are several GraphQL libraries supporting different features, of different sizes.