Creating File Example : var RNFS = require(‘react-native-fs’); var path = RNFS. DocumentDirectoryPath + ‘/test. txt’; // write the file RNFS.
Read moreHow do you create a new file in React Native?
To create a new app/project using this tool, all we need to do is run the command “create-react-app” followed by the app name . After running the above command, a new folder called “my-sample-app” will get created and that would have all of our application code.
Read more