This repository has been archived by the owner on Sep 24, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix] utils/moment - RN 0.49 compatibily
- Loading branch information
37e72b8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Почему так лучше?
37e72b8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lex111 Ты предлогаешь пустую строку убрать?
37e72b8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Чем это?
Лучше этого?
Одно и то же вроде?
37e72b8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Нет =)
import moment from 'moment/min/moment-with-locales.min';
Тут dynamic import будет, а в RN 0.49 не будет работать (
37e72b8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Аа, понятно, нужно будет прочитать про этот dynamic import..
37e72b8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lex111
facebook/metro#52
import()
ES6 =require