Live data from Hacker News

New React docs pretend SPAs don't exist anymore

wasp-lang.dev

191–200 of 225 posts

Re: New React docs pretend SPAs don't exist anymore

#191
post #96

Does anyone else feel that the complexity of the full-stack frameworks is getting untenable? 1. There is a significant gap between dev and production environments. (See #2 why this is critical) 2. The production build times are super high 3. ES modules are great, but the JS ecosystem being a bundle of small libraries, getting them all to play nice is hard. 4. I occasionally get X is included twice errors that are pai…

I develop in react and follow KISS and I don't have any problems whatsoever. Some libraries can be a pain in React Native however, but React web has been smooth sailling for me (following KISS and MVVC).

Any suggestions for a CMS? Sanity isn't doing it.

Re: New React docs pretend SPAs don't exist anymore

#193

Was React not already a framework? Are SPAs that use frameworks not SPAs? What even is a framework or SPA anymore? This shit is why I stick to the backend.

> Was React not already a framework?

React has usually pitched itself as a library rather than a framework.

Re: New React docs pretend SPAs don't exist anymore

#194
post #171

Earlier quoted context omitted.

I'd like to see a browser extension or something similar for HN that would let one add tags to user names, and display those tags next to user names on comments and submissions. I often see someone take a pro-X position in some discussion and have a vague recollection that I've seen them take an anti-X position in some other discussion but it would be too much work to go digging through their comment history to check…

Yeah there was something like this for reddit. Maybe part of Reddit Enhancement Suite? Probably would be relatively easy to port that functionality for HN, or other sites with users.

Aidea: a chatgpt query builder that you feed a snapshot of your online discourse, the surrounding contexts and it tries to find things like hypocrisy/ class/culture blindness, in how you communicate.. or think.

Re: New React docs pretend SPAs don't exist anymore

#195
post #6

Hype driven developers/marketers believe the only type of websites that exists are those which need indexable content for SEO purposes. More news at 11

That should be true though, if it doesn’t have indexable content whose URL could theoretically be permanent, it shouldn’t be crammed into a web page. Write an application instead.

Re: New React docs pretend SPAs don't exist anymore

#197
post #154

Earlier quoted context omitted.

Nope, you do a bit of DHTML to update the only section that matters.

Isn’t DHTML just 00s speak for SPA? Not much difference between an accordion and react router, except the history API.

For selective Ajax calls actually, not a full dynamic site rendered on the client to display static text.

Re: New React docs pretend SPAs don't exist anymore

#198

Earlier quoted context omitted.

Yes, exactly. The typical issue is devs not grokking the mental model of GraphQL and instead just creating more and more extra queries, essentially resolving data piece by piece in the frontend instead of leveraging GraphQL types and adding types, fields and field resolvers as needed so that the frontend can do one query to get all the data it needs. No wonder it feels like a clunky extra glue layer if it’s being use…

Some of us learned these lessons in the SOAP/WSDL/XML-RPC days, and learned to embrace the principles of REST to a avoid exactly those issues. I looked at graphql and saw a return to the horror of DoSomethingBecauseItsMondayAndDueTomorrow() type API methods. Hundreds or thousands of them that accumulate like cruft over time, and no one can delete anything because you have no idea what it'll break. I stick with well d…

You looked at GraphQL and did not see the forest for the trees.

Use the @deprecated directive on your schema.

Re: New React docs pretend SPAs don't exist anymore

#199
post #171

Earlier quoted context omitted.

I noticed that too. It’s a humble reminder to us that Hacker News isn’t one entity. It’s many people with different opinions, taking turns deciding when they want to be heard.

I'd like to see a browser extension or something similar for HN that would let one add tags to user names, and display those tags next to user names on comments and submissions. I often see someone take a pro-X position in some discussion and have a vague recollection that I've seen them take an anti-X position in some other discussion but it would be too much work to go digging through their comment history to check…

There's hn-friends which is pretty basic but allows you to add plain text tags.

https://chrome.google.com/webstore/detail/hn-friends/ffgfcbf...

Re: New React docs pretend SPAs don't exist anymore

#200
post #171

Earlier quoted context omitted.

I'd like to see a browser extension or something similar for HN that would let one add tags to user names, and display those tags next to user names on comments and submissions. I often see someone take a pro-X position in some discussion and have a vague recollection that I've seen them take an anti-X position in some other discussion but it would be too much work to go digging through their comment history to check…

Yeah there was something like this for reddit. Maybe part of Reddit Enhancement Suite? Probably would be relatively easy to port that functionality for HN, or other sites with users.

It's not as good as the RES user tagger but it does work:

https://chrome.google.com/webstore/detail/hn-friends/ffgfcbf...

Post reply on HN