aksonov / aksonov/react-native-mobx

Let me know how to integrate with react-intl

Đang mở
#15 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Objective-C
Star
224
Fork
37
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

What I tried as below
```
class App_ extends Component {
render() {
return (


...


)
}
}

@inject( 'store' ) @observer
class ForIntlProvider extends Component {
render() {
return (



)
}
}

export default class App extends Component {
render() {
return (



)
}
}
```

But it was not successful. In order to use `react-intl`, `App_` should be wrapped by `IntlProvider` which needs mobx `store` as well.

Now `react-native-mobx` just uses `store` props in `Router` component.

What shall I do?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.