Message from JavaScript discussions

October 2020

β€” I believe they are nice principles to follow but not too obssesively strictly.. your simple code can be a mess only because you are trying to stick to it

Message permanent page

β€” 

3 of the 5 principles you can do with dependency injection.
And single-responsibility is explaining itself pretty well

β€” Generic dev doesn't even have time for refactoring..

β€” πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚

β€” Dependency injection or inversion🀨

β€” Inversion

β€” One should "depend upon abstractions, [not] concretions.

β€” Tell me how, using React can you reach that? I am not sure

β€” Can you create "component" that has sub-"components" there? i'm not a react user, never seen that, but it should be that principle if yes... like if i create NumRange object that has two NumInputs and has control over them

Message permanent page

β€” You can

β€” Const x = () => <div />

x.y = () => <span />

β€” It looks way too simplistic