HN user

jack_hanford

369 karma

I am Jack Hanford, moved to the bay area alone 7 days after HS graduation. Now working as a software engineer

Website: http://jackhanford.com

Posts20
Comments17
View on HN
blog.samaltman.com 3mo ago

Sam Altman's response to Molotov cocktail incident

jack_hanford
364pts997
www.wsj.com 1y ago

Meta Urges California Attorney General to Stop OpenAI from Becoming For-Profit

jack_hanford
12pts2
vadimdemedes.com 2y ago

Moving on from Ink

jack_hanford
1pts0
bun.sh 2y ago

Bun v1.1.8

jack_hanford
5pts1
medium.com 4y ago

Node.js 17 Is Here

jack_hanford
2pts0
reactjs.org 5y ago

React v17.0 Release Candidate: No New Features

jack_hanford
227pts118
news.ycombinator.com 8y ago

Show HN: Trends – A GitHub trending PWA

jack_hanford
95pts33
www.eaze.com 8y ago

Eaze, cannabis delivery company, raises 27M

jack_hanford
37pts48
segment.com 9y ago

Managing Tomorrow’s Infrastructure

jack_hanford
5pts0
segment.com 9y ago

Niffy: Perceptual Diffing to Catch Invisible Bugs

jack_hanford
84pts21
news.delta.com 10y ago

Delta bans shipment of lion, leopard, elephant, rhino, buffalo trophies

jack_hanford
10pts0
jackhanford.com 11y ago

Show HN: Veneer, a Tool to modify the CSS of any webpage

jack_hanford
6pts0
9to5mac.com 11y ago

iOS 8.1.3 is out

jack_hanford
1pts0
github.com 11y ago

Angular 1.4 Beta 0 released

jack_hanford
2pts0
jackhanford.com 11y ago

Show HN: Facebook data visualizer

jack_hanford
62pts19
techcrunch.com 11y ago

Yik Yak raises another 61m

jack_hanford
2pts0
itunes.apple.com 11y ago

Official Ionic Framework iOS app

jack_hanford
2pts0
jackhanford.com 11y ago

Show HN: Open Source, Mobile GitHub Application

jack_hanford
7pts0
www.idownloadblog.com 12y ago

Apple launches new 8gb iPhone 5c

jack_hanford
1pts0
mdo.github.io 12y ago

Code Guide by MDO

jack_hanford
2pts0

Depending on how far along you are, I'd recommend checking out: https://lexical.dev/

I'm in the process of migrating my companies RTE from Slate to Lexical.

I've been able to remove thousands of lines of custom code and increase the performance and reliability

hmm, thanks for mentioning the select options .. should be an easy fix.

As for the page reloading I agree, but this exercise was specifically to make an application with the absolute minimum amount of client side code.

HTMl5 Forms do the job pretty well! :)

Correct!

The way that is achieved is pretty neat, Next.js has a <Document />[1] component that you can extend. This Document is essentially your application shell that is used when server side rendering.

Here is the trends Document component[2] where you can see I'm simply omitting `NextScripts` which ends up being the frontend bundle with react + application code

[1] https://github.com/zeit/next.js#custom-document

[2] https://github.com/hanford/trends/blob/master/pages/_documen...

It's certainly interesting. This kind of development has gone full circle where the methodologies are back to where it was years ago.

The issues that really large JS bundles can cause are really hard to solve (bloated sizes, but also parse time of the bundles). There are a lot of tools to help mitigate those like code splitting, but it's really challenging once things get big.

When I wanted to achieve a 100 in my chrome performance audit, I simply couldn't include React.

I think React adds a tremendous amount of value from the ecosystem, the constant improvements and updates .. and the mindset that developers have when building out react applications. (component model, etc)

I think for any really large application with lots of client side interactions or async data / data management, my solution would become unwieldy.

But for smaller applications that maybe don't need to do as much, (in the above case we're simply registering some event listeners to submit a form) or landing pages or the like .. the above solution would work very well.

If I understand correctly you could build something like that but I'm not currently persisting any data from github which is something I'd need to add first.

I'm simply getting this data from Github and then caching the rendered result on the cloudflare CDN layer, the rendered page data in memory in node, and additionally the GraphQL query in memory

unfortunately I haven't been able to test a data set that isn't english :(

And right, that is kind of a known bug. I discovered earlier today when a friend ran it.

Thank you for the feedback!

It appears that scrolling isn't working for me. Chrome on a Mac.. Perhaps it's a CSS overflow issue?

Edit: Only when the video is playing