What is the recommended way to use native javascript libraries in react native? Are there any specific restrictions?
to use a npm library just use this command with the respective library name
npm install moment --save
eg.) npm install {your library name here} --save
then just import in your class and use
import moment from 'moment';