We're a place where coders share, stay up-to-date and grow their careers.
A typical pattern for exporting all files within a folder instead of having a bunch of different imports is done via an index.js. You import all sibling files to this file and then export from there.
index.js
oh i see
Thanks, btw thanks for the tip above really helped me
A typical pattern for exporting all files within a folder instead of having a bunch of different imports is done via an
index.js
. You import all sibling files to this file and then export from there.oh i see
Thanks, btw thanks for the tip above really helped me