Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Build Your Own React (pomb.us)
148 points by howToTestFE 15 hours ago | hide | past | favorite | 14 comments




The animations don't keep up when you scroll the page quickly and it really makes the whole thing a pain to glance through. When you scroll fast or just jump to a point in the middle of the article with the scrollbar, you get a bunch of enqueued animations that make no sense.

This is an amazing resource to understand the internals/potential internals, and led me to build a small renderer that I've been using to amazing success for my own alt backend renderer. I now can do it like this:

    export default server()
      .get('/', () => <div>Hello world</div>)
      .get(...);
I've been using Bun's JSX transformer as well to do the transpilation, and since it's just a renderer on the backend I don't need to worry about events or hooks, just the rendering step. For this, the article was amazing and I learned a lot.

I'm actually about to release something similar, if you're interested would love to share it with you - getting some feedback would really help a lot.

How do you handle interaction ?

Love the way this is done. It's a shame commercial vendors don't do this sort of thing for their product docs more regularly.

Author here.

> It's a shame commercial vendors don't do this sort of thing for their product docs more regularly.

I've been trying. I'm even building something to make adoption easier, not launched yet but it's here https://docskit.codehike.org


That is a fantastic presentation. It reminds me of the annotated source/site that backbonejs used to have, but this one is interactive. Really great job!

Pomber is the founder of CodeHike and the code block animations you see are powered by it! We use CodeHike for our doc tutorials and it’s so much easier to follow.

could not agree more. this is the "everything has to be communicated via video format" they tell you not to worry about... as it were... all of the interactive and sequential that helps to build up a story, but where every detail is brought into focus exactly when it is relevant, but still forms part of a cohesive, intelligible whole (ie. a document! (who knew that documents were a great way to document things!)). i really have nothing to add to parent other than to second how fantastically presented the content on this page is. really beautiful work.

Motioncanvas may also be of interest then!

[0]: https://motioncanvas.io/blog


coffeescript docs used the same system iirc, very nice indeed

Amazing website and presentation of the story. Love it!

Why a .us domain?

MAGA!



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: