react-primitives icon indicating copy to clipboard operation
react-primitives copied to clipboard

Is this in active development?

Open testavenger opened this issue 1 year ago • 6 comments

testavenger avatar Sep 17 '22 12:09 testavenger

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.

macintoshhelper avatar Oct 03 '22 18:10 macintoshhelper

I've added a PR to remove Stylesheet.resolve: https://github.com/lelandrichardson/react-primitives/pull/148

badsyntax avatar Nov 29 '22 07:11 badsyntax

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 avatar Mar 25 '23 22:03 nilooy

@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 avatar Mar 25 '23 23:03 macintoshhelper

@macintoshhelper that will be amazing, i was already copying it with typescript support, if you can do the copy, that will help a lot.

nilooy avatar Mar 25 '23 23:03 nilooy

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.

nilooy avatar Mar 29 '23 12:03 nilooy