|
1 | 1 | # react-native-css-nitro |
2 | 2 |
|
3 | | -A |
4 | | - |
5 | | -## Installation |
6 | | - |
7 | | - |
8 | | -```sh |
9 | | -npm install react-native-css-nitro react-native-nitro-modules |
10 | | - |
11 | | -> `react-native-nitro-modules` is required as this library relies on [Nitro Modules](https://nitro.margelo.com/). |
12 | | -``` |
13 | | - |
14 | | - |
15 | | -## Usage |
16 | | - |
17 | | - |
18 | | -```js |
19 | | -import { multiply } from 'react-native-css-nitro'; |
20 | | - |
21 | | -// ... |
22 | | - |
23 | | -const result = multiply(3, 7); |
24 | | -``` |
25 | | - |
26 | | - |
27 | | -## Contributing |
28 | | - |
29 | | -- [Development workflow](CONTRIBUTING.md#development-workflow) |
30 | | -- [Sending a pull request](CONTRIBUTING.md#sending-a-pull-request) |
31 | | -- [Code of conduct](CODE_OF_CONDUCT.md) |
32 | | - |
33 | | -## License |
34 | | - |
35 | | -MIT |
36 | | - |
37 | | ---- |
38 | | - |
39 | | -Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob) |
| 3 | +`rect-native-css` ported to C++ for performance. This is a prototype and not production ready. Ideally this eventually be `[email protected]` |
| 4 | + |
| 5 | +## Progress |
| 6 | + |
| 7 | +These are the features that are "done". Only basic testing as been performed. |
| 8 | + |
| 9 | +- [x] Dynamic styles - shadow tree |
| 10 | +- [ ] Dynamic styles - JS rerender |
| 11 | +- [x] Style hot reload - shadow tree |
| 12 | +- [ ] Style hot reload- JS rerender |
| 13 | +- [x] Web |
| 14 | +- [x] Multiple style rules |
| 15 | +- [x] Specificity sorting |
| 16 | +- [x] Transform |
| 17 | +- [ ] Filter |
| 18 | +- [x] Pseudo classes |
| 19 | +- [x] Media query |
| 20 | +- [ ] Attribute selectors |
| 21 | +- [x] Container named queries |
| 22 | +- [x] Container media queries |
| 23 | +- [ ] Container attribute queries |
| 24 | +- [x] Dynamic Variables |
| 25 | +- [x] Global variables w/ media queries |
| 26 | +- [ ] CSS functions (min max etc) |
| 27 | +- [ ] Style target prop |
| 28 | +- [ ] Metro |
| 29 | +- [ ] Update compiler to new syntax |
| 30 | +- [ ] Upgrading elements |
| 31 | +- [ ] Animations |
| 32 | +- [ ] Transitions |
| 33 | +- [ ] Important styles |
| 34 | +- [ ] Important props |
| 35 | +- [ ] Shorthand runtime styles |
| 36 | +- [ ] Native component wrappers |
| 37 | +- [ ] 3rd party hook (nativeStyleToProp, etc) |
0 commit comments