react-native-zephyr
react-native-zephyr copied to clipboard
TailwindCSS-inspired styling library for React Native.
Closes #21. ### What? Looked into typescript errors: - Updated override theme test - Updated type comment for spy tests ### Why? Cleaner codebase
Are there plans to support responsive classes? Tailwind has a screens property in its theme file where you define screen sizes such as `sm: 640` and `md: 768` which generates...
## What is this? This PR removes the need to wrap your app in `StyleProvider`. The reason for this change is twofold: 1. It's easier to setup if you don't...
Hi As the editor of ThisWeekInReact.com newsletter (featuring your lib this week), the first question that came to me is: what about web support? Is this lib usable in a...
The `makeStyledComponent` function wraps a component and adds `classes` and `darkClasses` props, which accept an array. If users inline these values, these props will technically change each re-render (based on...
## What? The `createStyleBuilder.test.tsx` file has a handful of ugly `@ts-ignore`s (like [here](https://github.com/FormidableLabs/react-native-zephyr/blob/88418f8cd80e21af15b28fbb1b62f964c7fd3a20/packages/core/src/createStyleBuilder.test.tsx#L123)) that we should clean up. Getting the vitest mocks typed properly is hard, but worthwhile to investigate...
### What? 1. Updated and pinned dependencies 2. Added a rendering performance test to the sample app ### Why? Keep an eye on any possible regression and demonstrate the very...
[efstathiosntonas](https://github.com/efstathiosntonas) created this [benchmark](https://github.com/efstathiosntonas/react-native-style-libraries-benchmark) of various react native ui libs and Zephyr takes a solid 3rd place after RN Stylesheet and Restyle 