I just cloned your repo github.com/retyui/horoscope and changed github.com/retyui/horoscope/blob/m...
<fbt>...</fbt> to <FbtPlural count={5}>...</FbtPlural> - as the result - FbtPlural is undefined. Of course I imported it from fbt. Looks like metro-config breaks babel-plugin-fbt
Seems like
FbtParam
orFbtPlural
is not works in React NativeWhat exactly "not works"
How can I reproduce it?
I just cloned your repo github.com/retyui/horoscope and changed github.com/retyui/horoscope/blob/m...
to<fbt>...</fbt>
<FbtPlural count={5}>...</FbtPlural>
- as the result -FbtPlural
is undefined. Of course I imported it fromfbt
. Looks likemetro
-config breaksbabel-plugin-fbt
Sorry but this project didn't create as a demo to fbt
Anyway, I added an example of plural:
github.com/retyui/horoscope/commit...
And if it works!