This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://reactnavigation.org/ | |
https://github.com/wix/react-native-navigation | |
index.js | |
import 'react-native-gesture-handler'; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://reactnative.dev/docs/optimizing-flatlist-configuration | |
https://github.com/Flipkart/recyclerlistview | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install --save styled-components |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Our redux component to test | |
// | |
export default function ProfileComponent (props) { | |
const profile = useMySelector(state => state.profile, props) | |
// Invariant Violation: could not find react-redux context value; please ensure the component is wrapped in a <Provider> | |
// const profile = useSelector(state => state.profile) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.outputFile = try AVAudioFile(forWriting: self.exportURL, settings: self.exportPlayer.audioFile.fileFormat.settings) | |
try AudioKit.renderToFile(self.outputFile, duration: self.exportPlayer.duration, prerender: { | |
self.exportPlayer.play() | |
}) | |
// it does not work after 1 render (audio is empty or corrupted) | |
// I have to create AVAudioFile and render again | |
self.outputFile = try AVAudioFile(forWriting: self.exportURL, settings: self.exportPlayer.audioFile.fileFormat.settings) | |
try AudioKit.renderToFile(self.outputFile, duration: self.exportPlayer.duration, prerender: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sdgdsg |