So lets say that I have a file named index.js and it uses an API to get the weather for the day. Then I have another file named execute.js that needs to see the data from index.js to execute some task. What is the best practice for having one file send data to the other file? What is the best practice for having two files access and manipulate the same data? I realize that I could merge those two files into one, but eventually my one file would become enormous, and I want to segment it.
Submitted November 05, 2017 at 07:45PM by 302prime
No comments:
Post a Comment