You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.
The idea is you export a larger object, and then only import the functions you need. For example, import some-function from fileUtils instead of importing the whole fileUtils function that returns the entire object of functions like we currently have. Modern libraries have this setup so can do things like import { prop-types} from React, etc.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The idea is you export a larger object, and then only import the functions you need. For example,
import some-function from fileUtils
instead of importing the wholefileUtils
function that returns the entire object of functions like we currently have. Modern libraries have this setup so can do things likeimport { prop-types} from React
, etc.The text was updated successfully, but these errors were encountered: