Mark Lawlor's Avatar

Mark Lawlor

@marklawlor.bsky.social

Creator of nativewind.dev. Working @ Expo

140 Followers  |  106 Following  |  6 Posts  |  Joined: 30.10.2024
Posts Following

Posts by Mark Lawlor (@marklawlor.bsky.social)

NativeWind v5 will remove this, as it's no longer required with TailwindCSS V4 ๐ŸŽ‰๐ŸŽ‰

17.12.2024 03:51 โ€” ๐Ÿ‘ 8    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
React Native 0.76 - New Architecture by default, React Native DevTools, and more ยท React Native Today we are excited to release React Native 0.76!

You should switch to using boxShadow in 0.76 The shadow* styles can be inconsistent and have many edge cases where they will not work.

boxShadow is more consistent across platforms and you can use the existing box shadow generators online

reactnative.dev/blog/2024/10...

03.12.2024 11:14 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

This has been a highly requested feature, but it might take a little bit to land as its part of a much larger body of work ๐Ÿ‘€

18.11.2024 01:36 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

When a unit test takes up your weekend ๐Ÿ˜…

This work allows CSS variables to set animation properties dynamically at runtime. This gives you greater control of the animations and allows plugins like TailwindCSS Animated to work with NativeWind

www.tailwindcss-animated.com/configurator...

18.11.2024 01:36 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Video thumbnail

Having fun with expo-router headless tabs again! Made the camera tab pull double duty - first tap opens camera screen, next taps take pics. Tab bar completely styled with NativeWind (even those smooth animations!) @expo.dev

15.11.2024 06:21 โ€” ๐Ÿ‘ 10    ๐Ÿ” 2    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

What has happened to NPM download stats? Every package is reporting a dramatic loss of downloads

10.11.2024 08:54 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

This was changed in v4 to follow CSS specificity - meaning the same order as the web

Previously it used Right-to-Left (same as react native).

I would highly recommend using prettier to order your classNames, as this fixes edge cases with TailwindCSS and is recommended by Tailwind

08.11.2024 08:36 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0