Does using a framework prevent me from mastering JavaScript?

前端 未结 13 2133
梦谈多话
梦谈多话 2021-02-06 04:09

How would I become a master of JavaScript if I always used frameworks and did nothing by myself?

I asked a question on JavaScript and everyone recommend that I use frame

13条回答
  •  被撕碎了的回忆
    2021-02-06 04:51

    How would I become a master of JavaScript if I always used frameworks and did nothing by myself?

    If you did nothing but use a framework, then I don't think you could become a "master" JavaScript coder. If, on the other hand, you look into how the framework implements certain functionality and ask why/how it was implemented, than you can begin to peel back the onion that is JavaScript.

    I asked a question on JavaScript and everyone recommend that I use framework (which won't show me the real core of JS!) instead of hand-coding.

    With browser compatibility issues to consider, in general, it's probably wiser to use a framework/library for complicated pieces. Why re-create the wheel? However, if your intent is to actually learn how to do something without the framework, than it's best to say that in your future questions.

    1. Did you code your own so-called frameworks when discovering JS for yourself?

    It's probably the first thing I did. JavaScript, when I first came upon it, was far more different than what I was accustomed to, that I wanted to create a framework that made the code appear more like Java/C#. In the process of doing that, though, I realized that I was being rather silly, and I found I preferred the way JavaScript was handling a lot of things. That doesn't mean I didn't create my own tool set of commonly used functions.

    1. Did you use frameworks like jQuery all the way?

    Not at first, but I have used them since. When you have such and such time to finish a project and the deadline is coming down, it's far easier/smarter to use a library/framework. I have had a few problems with them before, and if I hadn't known how/why JavaScript worked, I might have never been able to solve said problems.

    1. Could you now consider yourself to a master of JS?

    Of the language, yes. Of the language inside a browser, not necessarily.

提交回复
热议问题