When should I use a javascript framework library?

前端 未结 4 1580
别跟我提以往
别跟我提以往 2020-12-06 02:35

I\'m writing a small web that just makes some animation and shows some information as a homepage and a list of links. All that is going to be generated dynamically in the cl

4条回答
  •  一向
    一向 (楼主)
    2020-12-06 02:54

    Whenever writing javascript isn't your business.

    JS libraries, other than providing helpers and shortcuts, also take care of corner cases, browser incompatibilities and quirks, and best practices. It is better that you spend time developing your application, and fall back to native JS only if you have to.

提交回复
热议问题