@Una@container Ace! 😃 Can't wait for this to be supported by all major browsers!
For anyone working in react and wanting a solution today, I've been using @joeybaker's "react element query".
It works great! 🔥 Check it out 👇
https://t.co/Ar63Z7oG7F
This is ace! Will be a while until container queries have decent browser support though.
In the mean time I've been using @joeybaker's react-element-query package and it works great! 🔥
Check it out 👇
https://t.co/Ar63Z7oG7Fhttps://t.co/G7x2AwyqAp
🚨 An experimental flag for container queries (@container) just hit Chrome Canary!
Yes, seriously!
Go to: chrome://flags in your URL bar and turn on enable-container-queries to try it out.
Here's a demo to help you see how they work (w/flag in Canary): https://t.co/DrZxzoggV4https://t.co/uCJcF4Ak3I
Simply put, a component is a JavaScript class or function that optionally accepts inputs i.e. properties(props) and returns a React element that describes how a section of the UI (User Interface) should appear.