Has anyone created or is it possible to create a component that preforms JavaScript media queries and the user’s screen size could be used as an inputs or states to callback functions?
The use case I’m imagining would be to have the user’s screen width as a callback state and return different children to a component depending on whether they were on mobile or a larger screen. The data table can get a little unwieldy on mobile devices.