Live data from Hacker News

Ask HN: Should I use React for a personal portfolio?

news.ycombinator.com

21–30 of 52 posts

Re: Ask HN: Should I use React for a personal portfolio?

#21
post #15

I browsed with JS disabled by default for a long time so I would have seen nothing and clicked away. Unfortunately I don't do this anymore because every website uses JS for innocuous things now and most sites (not HN though!) would be hopelessly broken. If you want to show off React, do a demo somewhere other than your main website. It's really offputting to see gratuitous interactivity on personal sites that just ge…

Maybe that's just generational expectation for the web. I doubt users of native apps want their apps to be less interactive.

When I'm using a native app like Notion or Obsidian I don't find myself thinking "Oh wow, I wish Notion wasn't so interactive."

Re: Ask HN: Should I use React for a personal portfolio?

#22
It depends what you want to communicate through your portfolio, other than your portfolio items. What message do you want prospective employers to get?

Here’s an example: I created a new website to contain articles[0]. It’s not a portfolio but the design and the way it’s built carry a specific message. For me, that message is caring about HTML as a communication mechanism; about websites as documents not apps; about minimalistic design not meaning lack of ornamentation; and on privacy. I did this through a site based on more text than graphics, but beautifully styled; on zero JavaScript; on zero cookies or tracking scripts; and on elegant, manuscript-like typography. None of this is overt in the site unless you read the About or the CSS file comments or happen to realize. It’s there so the kind of people who will notice this, will notice this.

So for you: what will best show off your programming skills? Perhaps you could have special JavaScript behavior or a HTML5 canvas special effect header. Or some custom widget. Or beautiful transitions between pages. Or something I cannot advise but that’s difficult with React and those who know React, will recognize when they see it. Find your communication purpose, and then build something that communicates that to those who have eyes to see it. They’re your audience.

[0] https://daveon.design/

Re: Ask HN: Should I use React for a personal portfolio?

#25
post #4

If you are looking for a front end role, a great idea, otherwise it's not a bad idea. But, I would suggest going with Next over React for static content, this a great starter https://vercel.com/templates/next.js/nextjs-boilerplate and your build process will be all set from the set and tied to the created GitHub main branch, best of luck!

Nextjs is the way.

Or Vite. It is a close call.

Vite seems to more configurable but the trade-off is you spend more time figuring out how to set stuff up like SSR and routing. NextJS had it all set up but Vercel make some weird choices like rolling out the app router and saying it is recommended when it felt very beta still.

My preferred thing is NextJS or Vite but constrain it to front end only. Use a better back end stack than Node. Any of the major ones will do.

Re: Ask HN: Should I use React for a personal portfolio?

#26
If you're trying to market yourself as a react developer, creating a killer portfolio site in react isn't a bad idea, but as a general use case, I don't think React makes a ton of sense. React, in my opinion, shines mainly for web apps, and not informational websites, which presumably is what you're looking to build. There are better solutions if all you want to do is post links to your work in a presentable way.

Re: Ask HN: Should I use React for a personal portfolio?

#27
Personally, I have been experimenting with precompiling my content-heavy sites in CI from markdown then delivering them as static HTML.

The git repo is a bunch of folders with markdown, where the file path in the repo becomes the URL on the website.

e.g. "/articles/foo.md"

Becomes: "https://example.com/articles/foo.html"

If I need dynamic functionality, I'll sprinkle in a little Preact, petite-vue or alpine-js.

Some examples of dynamic functionality are article search (done on the client side with a pre-computed index), a comments section or a contact submission form.

This opens the door to:

- Pre-downloading articles in the background using service-worker

- Your site being incredibly small and jarringly fast

- Largely free to host using AWS S3 + Cloudfront/Cloudflare

- Easier to manage from an SEO standpoint

You can see an example of this here: https://ozkiwi2001.org

I'm not a designer though so the design is pretty spartan haha. I also haven't yet updated my own portfolio site with this approach and I haven't found a minimal solution to serverless/free analytics.

In the above example, rather than a CMS, I taught the client (the OzKiwi team) how to use SourceTree/git and they edit the content markdown directly via a markdown editor.

It was interesting for me to see if people without software development experience would be motivated to learn these tools to maintain their website - in exchange they get effectively-free hosting costs.

They did super well, calling me every now-and-then when an image doesn't appear on their site because of a malformed URL, haha). I added a few pre-commit hooks to do validation on file names and so on.

That said, it might be easier to do this with a single SPA entry point and the content delivered separately (still precomputed during CI)

Re: Ask HN: Should I use React for a personal portfolio?

#28
post #17

I wouldn't spend any time on a portfolio. No manager spends their time looking at that. You are not a UX designer and portfolio means nothing. Your best bet would be polishing your resume and LinkedIn profile -- that's where recruiters and hiring managers look for highlights. If you want to do a portfolio regardless, especially for non job hunting purposes, do it however you'd like and spend however much time you wan…

Depends entirely on how you intend to get a job

If you post cool projects on HN or Twitter, people will absolutely look at your personal site and send you job offers if you look promising

I've gotten 10x more serious job offers from posting projects on HN and Twitter than via resumes and LinkedIn

All that said, the content of the projects is an order of magnitude more important than the design of the personal site, unless you want frontend roles

Re: Ask HN: Should I use React for a personal portfolio?

#29
post #17

I wouldn't spend any time on a portfolio. No manager spends their time looking at that. You are not a UX designer and portfolio means nothing. Your best bet would be polishing your resume and LinkedIn profile -- that's where recruiters and hiring managers look for highlights. If you want to do a portfolio regardless, especially for non job hunting purposes, do it however you'd like and spend however much time you wan…

As a hiring manager -- I very much disagree. If there is a link to a personal site, github, or anything else on the resume I will visit it and try to get as much information about the candidate as I can through it.

I'll ask them questions about it and see if they can talk passionately about it. Sometimes a nice personal site or github with some portfolio projects on there is the difference between a yes or a no.

Re: Ask HN: Should I use React for a personal portfolio?

#30
post #17

I wouldn't spend any time on a portfolio. No manager spends their time looking at that. You are not a UX designer and portfolio means nothing. Your best bet would be polishing your resume and LinkedIn profile -- that's where recruiters and hiring managers look for highlights. If you want to do a portfolio regardless, especially for non job hunting purposes, do it however you'd like and spend however much time you wan…

As a manager who has hired hundreds of developers I always ask for a portfolio, with links to live sites.

Right-click, view source!

Can reveal a lot about a developers habits and practices.

I also expect a GitHub repo. Fyi, personal sites and projects are just as important as the ones you get paid to build.

IMHO LinkedIn is a waste of time. People struggle to keep it up to date and most don't have the time to put enough detail into their profile that it says very little about the candidate.

Post reply on HN