DEV Community

adam klein profile picture

adam klein

I'm a web developer and consultant, web GDE, and author of open source libraries. I co-founded 500Tech, a company that specializes in frontend technologies. I love coding, and love speaking about code

Location Tel Aviv, Israel Joined Joined on  Personal website http://adamklein.dev github website twitter website

Education

Bs.c in computer science

All 21 comments

Build your own virtual scroll - Part II

Thanks! I've never done that, but sounds like a nice challeng...

How knowledgable you are about React? See common mistakes people make

Thanks for the feedback :) I agree many bootcamps don't go de...

How knowledgable you are about React? See common mistakes people make

Good question. I don't think everyone on the team must know t...

We don't know how React state hook works

Hi, glad to hear! useReducer is a local state hook: reactjs.o...

We don't know how React state hook works

Hi, glad you learned something :) That's the eager computati...

Why Code Reviews Shouldn't Exist

Thanks for the feedback! Well, I admit the article's title is...

Build your Own Virtual Scroll - Part I

Sure! Please link back to the original post and send me the l...

Build your Own Virtual Scroll - Part I

We add padding above and below the visible viewport, hence ...

Build your own virtual scroll - Part II

I think this kind of situation is problematic for a virtual...

Build your own virtual scroll - Part II

Why should the width affect the calculations? I'm not follo...

Build your own virtual scroll - Part II

I guess if the container's dimensions change (for any reaso...

Build your own virtual scroll - Part II

Cool! Thanks for the addition. I wonder if you could make i...

Build your own virtual scroll - Part II

Oh, thanks for noticing! Probably leftover - I removed it

Build your own virtual scroll - Part II

Great idea! If anyone adds one I'll add to the post

Build your own virtual scroll - Part II

I think that could be a great Part III :)

Build your Own Virtual Scroll - Part I

Thanks! The Stackblitz example doesn't load for me

Build your own virtual scroll - Part II

Thanks! The calculation for the end node was wrong, because...

You don't need useReducer

Hi, not trying to be sneaky, just concise :) But if that's ...

Build your own virtual scroll - Part II

Hi, Changing the data means you have to recalculate the p...

You don't need useReducer

Can you give an example? If I understand you correctly, the...

Welcome Thread - v36

Hi DEVs! I'm Adam, and programming was my passion since ag...

loading...