HackerTrans
TopNewTrendsCommentsPastAskShowJobs

doradoblank

no profile record

Submissions

How can you send email from users' email accounts?

1 points·by doradoblank·vor 3 Jahren·5 comments

comments

doradoblank
·vor 9 Monaten·discuss
Weird to me when people describe React as overly complex. The fundamentals are very easy to grok. You don't need a the more complex APIs to get going.
doradoblank
·vor 11 Monaten·discuss
How do you handle state that affects multiple components? Like a filter button that affects a list table. In React you just hoist the state up and make both components dependent. If you're managing all state via internal component state, then you need to explicitly pass state between the components. That's okay for simple cases, but in my experience it breaks down pretty quickly. Once you have more than a few components involved, you end up writing your own state reconciliation.
doradoblank
·vor 11 Monaten·discuss
Web components are neat but they don't solve the problem React solves. React provides a simple mental model for managing client state, which is the one of the main challenges in frontend. It's basically, "re-render everything when one of your dependencies changes" -- and that's extremely easy to understand and reason about. It incurs significant performance overhead, but your app has to be fairly large before you start running into meaningful perf issues.
doradoblank
·vor 3 Jahren·discuss
NextJS is a batteries-included full-stack framework, Vite is a lot more minimal.

If you're just looking to stand up a SPA frontend for your BE, I'd recommend going with Vite, or using NextJS but going full SPA-mode.

Doing things in a properly "NextJS"y way requires buy-in to the SSR/React Server Components paradigm, which takes some time to learn, if you're used to doing things in the SPA way. You have to architect differently -- specifically the way you handle data fetching/caching. I think it's worth digging into if you have the time, just depends on your goals.

Also worth mentioning, since NextJS is full-stack, deployment will be more involved. You might not notice any pains if you use Vercel, but definitely doesn't match the simplicity of sending along a single JS bundle with Vite.
doradoblank
·vor 3 Jahren·discuss
"The Passenger" by Cormac McCarthy. It's an absolute delight. Nobody's working on his level.
doradoblank
·vor 3 Jahren·discuss
Have definitely been there. And I’m still working on it, on some level. Here’s what I would’ve liked to tell my younger self.

1. Understand it takes time. There are no shortcuts to intimacy. Come on too strong, whether it’s just friendship or it’s romantic, and it just makes people wary. While you’re waiting for relationships to form, make sure you are getting out there and doing things. Make plans with yourself, and commit to them. People will like you more if you’re busy - it couldn’t matter less what those plans are. Just be busy. Physical activities outdoors are best for raising your mood.

2. Build on the connections you have. Someone who’s just an acquaintance? Could be a friend. Did they seem to enjoy being around you? You want people in your life who make you feel good, who make you feel like you belong. So be open minded and pay attention to how people respond to you. If it’s a warm lead, ask them out for a walk or a hike, something active. Makes it easier if there’s something to do. Or sometimes it’s as simple as accepting an invitation, if they’ve already put out feelers.

3. Become a regular. Go to a coffee shop or a restaurant once a week. Don’t go too much, and make sure you’re polite and tip well. The cashier probably isn’t going to be your friend, and you probably don’t want them to be. But those loose connections have a positive impact on your mood, whether you realize it or not.

4. Take a class or join a gym or club. I tried F45, and ended up in a jiu jitsu gym. Better if you find something that you connect with and enjoy. Go in all seriousness to get lost in the activity, but be open to new connections. They will happen naturally once you begin to enjoy it because you will feel like you belong.

5. Get a therapist. If you’ve got any kind of social anxiety, it helps having someone tell you once a week (or two weeks, or month) that you’re just a normal human being experiencing normal things. At least it did for me.

Worst thing you can do is lean too much on any one resource. (Again, speaking from experience here…) If people get the feeling that you want something to happen a little too much, it’s like kryptonite. You’ll make mistakes and that’s okay. Take your learnings and move on. It’s just a matter of time before you find your people, you’ve just got to keep at it and not force things.

That’s my two cents :)