Live data from Hacker News

Elevator.js – A “back to top” button that behaves like a real elevator

tholman.com

21–30 of 336 posts

Re: Elevator.js – A “back to top” button that behaves like a real elevator

#22

Earlier quoted context omitted.

I really hate them on iOS, because the system comes with back-to-top functionality so all these buttons are doing are looking ugly and covering part of the page. And don’t even get me started on when AMP breaks scrolling…

I just want to take a moment to give a shoutout to the Tweetbot devs, which expanded on iOS’ back-to-top functionality: Tapping the top of the page again takes you back to your scroll position! Incredibly useful for recovering from accidental taps, and I kind of wish iOS would copy it, since it happens more often than I’d like.

The Apollo reddit app also does this! Really great feature when I want to go back up to look at the content again and then go back to the comment I was reading.

Re: Elevator.js – A “back to top” button that behaves like a real elevator

#25

I think other than being kitchy, the part I love the most is NO FRAMEWORK: plain js. No pre/mid/post/art-deco processor that turns 4 hours of work into 40 hours.

I've been developing some games and frontend on my free time for fun. I've been using typescript and Pixi.js but other than that nothing else. As a backend engineer, I've always thought about learning a frontend framework but I've never actually had a strong need of it. So question if you're a frontend engineer: Should I? I never felt the need of a framework despite I render quite a bit of dom elements. Do I have a n…

If you want to get a job as a frontend engineer, you should learn React because it's a tick-box on a lot of job postings these days.

If you just want to make personal projects, it depends a lot on what kinds of projects you want to make. React won't really help you with the sort of 2D-game-type programming you're using Pixi.js for. On the other hand, if you think the Reddit redesign is really good and you want to make a website that works exactly like that, the React community is a good place to start.

But one of the main benefits of using React that I've heard about is that it forces all the members of a development team to organize (certain parts of) their code the same way. This isn't really an issue on personal projects. Personally, I spent about a year working with React for a job, but I continue to write vanilla JavaScript on my own time.

(You can learn other frameworks than React, but React is a good starting point because it's the most popular one. Then you can learn about Framework X by reading "how is Framework X different from React" articles online.)

Re: Elevator.js – A “back to top” button that behaves like a real elevator

#27

I think other than being kitchy, the part I love the most is NO FRAMEWORK: plain js. No pre/mid/post/art-deco processor that turns 4 hours of work into 40 hours.

I've been developing some games and frontend on my free time for fun. I've been using typescript and Pixi.js but other than that nothing else. As a backend engineer, I've always thought about learning a frontend framework but I've never actually had a strong need of it. So question if you're a frontend engineer: Should I? I never felt the need of a framework despite I render quite a bit of dom elements. Do I have a n…

I never felt like I needed one but recently I’ve found that when writing larger apps, React is really worth it
Post reply on HN