Skip to content Skip to sidebar Skip to footer

React Native - Dynamically List/Require Files In Directory

I am using Redux and would like to dynamically include all files in a directory. /redux/index.js // Actions import * as authActions from './auth/authActions'; import * as deviceAc

Solution 1:

Dynamic loading of modules is not supported in react-native. All the javascript files are bundled into one js file.


Post a Comment for "React Native - Dynamically List/Require Files In Directory"