DEV Community

Discussion on: Dynamic imports in React-Native

Collapse
 
woutvannestestudent profile image
Wout Vanneste

Hi, I'm trying to do this, but I get the error that 'fs' is not defined. What package did you install to use 'require("fs")'? Because I'm unable to use the Node.js fs in my react-native application.