use-context-selector icon indicating copy to clipboard operation
use-context-selector copied to clipboard

Issue is back, missing some kind of export for react native.

Open disrae opened this issue 1 year ago • 3 comments

Works with fix from 1.4.3, but broken again on 1.4.4

image

disrae avatar Mar 11 '24 18:03 disrae

@antFrancon Do you have any idea?

dai-shi avatar Mar 11 '24 21:03 dai-shi

@disrae I believe we need you to provide the versions of react-native and metro that you are using, as well as your metro.config.js file.

  • Are you using Expo ?

antFrancon avatar Mar 12 '24 08:03 antFrancon

Ah, pardon.

expo: no
react-native: 0.68.7
metro: 0.67.0

metro.config

module.exports = {
  transformer: {
    getTransformOptions: async () => ({
      transform: {
        experimentalImportSupport: false,
        inlineRequires: false,
      },
    }),
  },
};

disrae avatar Mar 12 '24 17:03 disrae

Is it just me? I'll give it another whirl, see if maybe I did something wrong.

disrae avatar Mar 14 '24 02:03 disrae

https://www.npmjs.com/package/use-context-selector/v/2.0.0-beta.0 is published. Please give a try. If there's a problem, please open a new issue.

dai-shi avatar Apr 27 '24 01:04 dai-shi