Here is a patch to test CSS grid in React native.
@nishanbende4.2K followers
68,579 views
18 Comments
Comments from the original post on X (Twitter)

@kacperkapusciak
I wanted grid in RN for so long that I lost hope years ago accepted the fate that it’s just not possible but you did it you gave us hope again
12 likes

@nishanbende
Thanks Kacper. Big thanks to Expo ♥️, i had enough time to work on it properly.
14 likes

@dom000_dev
will these work on tailwind classes now?
5 likes

@nishanbende
Yup!
3 likes

@dom000_dev
Great, please media queries next 🥲🤝. Thank you in advance
1 like

@byteab
LFG
2 likes

@thymikee
LFG!
2 likes

@hirvesh
So so amazing! Thanks Nishan! 👌
1 like

@ashuuu_soft
👍🏻
1 like

@hellonehha
Looks amazing 🤩
1 like

@niyabits
great job Nishan! Thank you!
1 like

@nishanbende
🙏
1 like

@alexeevayaan
😍😍
1 like

@GiorgioZem
hell yeah, finally, great job! 😍
1 like

@Flingexx
What kind of use cases could grid bring into react native?
1 like

@nishanbende
e.g. consider this simple card layout. With flexbox you can think of it as: requires 8 views. With grid, you can declare the layout upfront with grid column/row properties and have a single parent with 5 children. It will require 6 views. It requires fewer wrapper views when building 2 dimensional layouts, it is like flex wrap with more controls. It is a complementary system to flexbox, but no need to use it everywhere! It becomes much more intuitive for desktop layout. e.g. In X's layout i'd use grid for the main layout, the hierarchy will be more flat and easy to move things around. There could be more usecases like this one -
5 likes

@Flingexx
Thank you so much actually makes sense now
3 likes

@thedummyxyz
Hey @nishanbende is this something that will be included into the main React Native repo?