Tackling responsive elements in React and why I’ve created React Sizes.
Renato Ribeiro

Well, that’s nice approach! I would take it further and pass the device type (or any other breakpoint name) to the component, instead of actual pixels. This way you can manage breakpoints in one place, outside of your components.

Like what you read? Give Tomer Gabbai a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.