react-primitives
react-primitives copied to clipboard
Is this in active development?
Hi, you can check the git history; there haven’t been any new features/major code changes in a while, I believe the repository is more in maintenance mode with PRs being accepted for fixes or new platforms.
It’s intended to be quite a minimalist project and still works fine. I’m working on a sort of fork/evolution to this project over here: https://github.com/elemental-design/react-platform
react-native-web
support appears to be broken currently though with the latest version due to createStyleResolver.js
being removed: https://github.com/necolas/react-native-web/commit/b27c9820dbffe1e5a3ffc87d62b1c9c167dbae8c#diff-40578f626041a46abbd28a6414da8ace7a395d2039c00d3646368f177e457160 . I may take a look at this and contribute a fix later.
I've added a PR to remove Stylesheet.resolve: https://github.com/lelandrichardson/react-primitives/pull/148
can we prioritise the merge of the pr mentioned above please? the library seems to be non functional for react-native-web without that.
@nilooy
I’ve added a comment to the PR re backwards compatibility. If this is a blocker for you and there’s no feedback from any maintainers re a potential merge, I’d be happy to copy the PR over to my fork and publish the updated fork to npm
.
@macintoshhelper that will be amazing, i was already copying it with typescript support, if you can do the copy, that will help a lot.
i tried with local clone of the package, but if i apply https://github.com/lelandrichardson/react-primitives/pull/148 changes to fix the issue, then no styling worked on primitive for web.