Skip to content

Instantly share code, notes, and snippets.

https://reactnavigation.org/
https://github.com/wix/react-native-navigation
index.js
import 'react-native-gesture-handler';
https://reactnative.dev/docs/optimizing-flatlist-configuration
https://github.com/Flipkart/recyclerlistview
npm install --save styled-components
//
// 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)
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: {