Lurker News

Comments (568) 81 threads

Earlier comments
leonhard3 replies#
I really like the approach but the demo [0] doesn’t really work on iOS Safari (although might be my outdated 16.7.8 version). Scrolling doesn’t work, the layout and buttons have weird line breaks, the native search button is embedded in the custom designed one, leading to 2 icons…

[0] https://mpa.nuejs.org/app/

Timon31 reply#
The author is using a trick they've used in almost every past submission: They implement much less than the component they compare themselves to, and then show how much smaller their own solution is.
tipiirai2 replies#
How is the SPA less than the button?
Timon33 replies#
Does your button component implement all the functionality included in the Vite/shadcn bundle? E.g. the different variants, states, loading etc.?

I'm sorry if it does, then I'll take my accusation back, but I've seen this happen in almost all of your Nue submissions. People keep bringing up this criticism, and you never retract your misleading comparisons.

Continue this thread — 3 replies

aziaziazi#
It’s not the button that’s big but the stack [0]

> Built with Vite, TypeScript, Tailwind, and Shadcn/UI, following the official ShadCN/Vite documentation exactly — no additions or removals.
Would be interesting to run Webpack Bundle Analyser [1] (or similar for vite bundler) to see if the proposed stack in the doc is bloated by some major dependencies.
0 https://nuejs.org/docs/react-button-vs-nue.html
1 https://www.npmjs.com/package/webpack-bundle-analyzer
Edit : seems the question I was responding for was a rhetoric question posted by the author. I guess the « smaller that a button » is a smart catchphrase but I wouldn’t use it for too long as soon a Nue becomes popular. Great work, I wish you much success and hope to use it in day to day work some time soon !

aziaziazi1 reply#
Scrolling works now on iOS safari! That was a quick fix. Thanks to the author (and bug reporter!)
jeffhuys#
Now do macOS Safari......
jampekka#
Page height/vertical scrolling is also broken in both Chrome and Firefox on Android. On FF the comment box gets hidden under the menu bar.

Probably the page height gets forced with percentage or vh, which should be usually avoided. If forcing is wanted, svh or dvh should be used.

n2d42 replies#
Are there any code examples? I've looked for a bit but haven't found any. That should IMO be the first thing on any blog post about new frameworks.
tipiirai1 reply#
There are currently two examples:

- `nue create simple-blog` This highlights content-driven websites.
- `nue create simple-mpa` This is today’s SPA demo, where 'MPA' stands for multi-page applications. It shows how client-side routing and view transitions can seamlessly connect content-heavy pages with app-like views.
Source code here:
https://github.com/nuejs/nue/tree/master/packages/examples

brundolf#
I also spent five minutes clicking around and couldn't find a sample of what the code looks like
aziaziazi4 replies#
> frontend architect, design engineer, and UX engineers

Damn should I update my resume again? I’ve used webmaster, web developer, full stack developer in the past. Can I use "internet creationist" to leap directly to the next call phrase?
More seriously, I’m lost when using a search bar in a job listing. Now I just type "JavaScript" but that miss the posts only mentioning the higher stack and/or typescript.

once_inc1 reply#
"internet creationist" make you sound like God either chose you to be a content creator, or ordained the internet into being...
sam_goody#
I know a guy whose middle name is "Almighty God".

I've actually wondered how that looks on a resume :D

7bit1 reply#
If you still use webmaster, perhaps updating is a good idea. Haven't seen that term used in the wild since the early? 2000s
owebmaster#
it is time for a comeback
tipiirai#
Author here. No need to update the resume yet—titles do keep shifting! React’s monolithic style has muddied the waters, making it tough to build clean business logic, prioritize performance, craft CSS design systems, or just focus on user experience. Nue’s here to unblock that—giving each role room to shine with leaner tools, not cramming everyone into the same heavy stack.
eurekin#
Don't forget to mention "vibe coding" somewhere too
h14h2 replies#
IMO talking about the “heaviness” of popular web frameworks is way too simplistic to be actually meaningful.

How light or heavy an app feels, in my experience, has very little to do with initial bundle size, and far more to do with how adeptly the developers have solved the distributed systems problems of their app.
Are images compressed and cached on a CDN? Is linked content pre-fetched? Does the app avoid unnecessary roundtrips to the server?
These are the questions that truly matter, IMHO. They’re also things that junior devs are likely to get wrong.
All that said, I agree that you tend to see far more sluggish websites written in React than in any other framework. But personally, I think that’s a consequence of React being popular, and attracting a larger proportion of devs who miss important details.
I share this opinion of Electron, BTW.

zozbot2341 reply#
> Does the app avoid unnecessary roundtrips to the server?

Guess what, using server-rendered pages avoids all unnecessary roundtrips by definition, because the entire page is loaded in one go. You can augment a server-rendered site with client-side SPA features for seamless interaction within the page, but that's not a key requirement either.

robertoandred#
Rendering and loading an entire new page just to open a dialog seems pretty unnecessary to me.
crabmusket#
And importantly, does the app have clear loading states when it has to block on something? Making sure something happens immediately can make things feel fast even if you're waiting on the network.

Load more comments