Any idea to manage the constants properly? #254
Unanswered
AndrewLawrence80
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As programs grow bigger, it is really annoying to properly manage the constants.
I have searched this article https://semaphoreci.com/blog/constants-layer-javascript. It provides a good manner to manage the constants in JS.
How do you organize the constants?
Currently my idea is to create a separated
constant
package under theinternal
package and organize the constants like below:Beta Was this translation helpful? Give feedback.
All reactions