jQuery Upgrade Guide | Proper jQuery Migration to Latest Version | jQuery Tutorial

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

Комментарии • 35

  • @webstylepress
    @webstylepress  3 года назад +1

    To watch more related videos, please LIKE, SHARE & SUBSCRIBE! WebStylePress needs your support.

  • @Brian-D
    @Brian-D 4 года назад +3

    Thanks!
    This helped me understand jQuery from 0 knowledge to updating our code with it no problem.
    I ended up not even having to use Migrate because I tested with 3.5.1 and it worked fine out of the box.

  • @patelsaurav6112
    @patelsaurav6112 6 месяцев назад +1

    Hello we are using 2.1.3 in our project do we need to add migration plugin or we have to directly paste latest version link?

  • @hari24Hh
    @hari24Hh 4 года назад +3

    Awesome... thank you for explaining in detail... excepting more vedios from you on java cpncepts also.. Once again thank you explanation was really superb

  • @purnimadas3762
    @purnimadas3762 8 месяцев назад +1

    Thank you very much... this really helped us understand the concept..!

  • @AdeelAhmad-xn9lb
    @AdeelAhmad-xn9lb 2 года назад

    Could you please explain the procedure to upgrade JQuery version in Workspace One UEM ?

  • @MANOJKUMAR-mb2uw
    @MANOJKUMAR-mb2uw 8 месяцев назад

    is it necessary to keep old jquery version also if we use jquery migrate plugin with new jquery version

    • @webstylepress
      @webstylepress  8 месяцев назад

      Including an old version of jQuery alongside the jQuery Migrate plugin in addition to a newer version of jQuery is generally not necessary and is not a recommended practice. The jQuery Migrate plugin is designed to simplify the transition from older versions of jQuery to newer ones. It does this by providing compatibility for features and behaviors that were present in older versions of jQuery but are deprecated or removed in newer versions. You replace the old jQuery script with the new version in your project. Alongside the new version of jQuery, you include the jQuery Migrate plugin. This plugin detects and restores deprecated features and behaviors, so your existing code will still work with the new version of jQuery. The purpose of the jQuery Migrate plugin is to assist in the transition period. It helps you identify deprecated features and behaviors in your code by logging warnings to the console when deprecated features are used.

  • @MANOJKUMAR-mb2uw
    @MANOJKUMAR-mb2uw 8 месяцев назад

    Hi, my project is currently using jquery-1.11.0 version and also we used jquery migrate plugin 1.2.0, if i want to upgrade to latest version is it fine to use another migrate plugin and new version, or do i need to change all deprecated methods in the code to latest so that to avoid migrate plugin. my code is very old and has so many modules please help me with this

    • @webstylepress
      @webstylepress  8 месяцев назад +1

      The purpose of the jQuery Migrate plugin is to assist in the transition period. It helps you identify deprecated features and behaviors in your code by logging warnings to the console when deprecated features are used. After updating your code to be compatible with the latest jQuery APIs and removing any dependencies on deprecated features, both the old version of jQuery and the jQuery Migrate plugin should be removed from your project. This is because maintaining them is unnecessary and could lead to confusion, increased page load times, and potential conflicts.

  • @sunkucoolcharan1686
    @sunkucoolcharan1686 4 года назад

    it's nice...and easy to understand. Could you also explain the procedure to upgrade jquery version fom 2.x to 3.x. Thanks in advance.

  • @spymediacart3809
    @spymediacart3809 2 года назад +1

    Thanks dear. from Kerala

  • @leorematika5455
    @leorematika5455 9 месяцев назад

    What is the proper way to do a Migration when jQuery library files were included in project files? This tutorial only explains migrating when URL is used to reference the library.

  • @mehulpatel140
    @mehulpatel140 4 года назад

    If we add all version jquery library then It will not affect on page speed as we are including 3 library for jquery

    • @webstylepress
      @webstylepress  4 года назад

      It will affect page speed. That is why it's better to use upgraded libraries so that you can use only one latest jQuery version. Drop old libraries that depend on older version of jQuery.

    • @alonerock136
      @alonerock136 4 года назад +4

      @@webstylepress After added jquery-migrate-3.3.0.min.js, the console said "jQuery 3.0.0+ required", I think it means we can add jQuery 3.5.1 instead of 3.0.0 and that's all. Anyway I not tested it yet, it's just my opinion.

  • @medicbryan7387
    @medicbryan7387 4 года назад

    How can you solve deprecation notices?

  • @hafidzifahrulradzi4159
    @hafidzifahrulradzi4159 Год назад

    I could hear someone snoring at the back haha. anyway good video !

    • @webstylepress
      @webstylepress  Год назад

      haha! 😂😀 yes true. I was working on PC and wife was sleeping in same room.

  • @venkatesanm4338
    @venkatesanm4338 3 года назад

    Can i update this query in each page of the website?

    • @webstylepress
      @webstylepress  3 года назад

      Yes

    • @venkatesanm4338
      @venkatesanm4338 3 года назад

      @@webstylepress I have got the below error after upgrade please help...
      Uncaught TypeError: $(...).popupWindow is not a function
      at HTMLDocument. (main.js:155)
      at fire (Jquery.js:1046)
      at Object.fireWith (Jquery.js:1164)
      at Function.ready (Jquery.js:435)
      at HTMLDocument.DOMContentLoaded (Jquery.js:923)

    • @webstylepress
      @webstylepress  3 года назад

      Try jQuery instead of $

    • @venkatesanm4338
      @venkatesanm4338 3 года назад

      @@webstylepress tried still same error came

    • @webstylepress
      @webstylepress  3 года назад

      Make sure element exists at page where something is being initialized at it via jquery.

  • @victoronu9686
    @victoronu9686 3 года назад +1

    Awesome. Thank you

  • @travistran9971
    @travistran9971 4 года назад

    Can you please show how with require.config({ Thanks!

  • @anisurrahman6634
    @anisurrahman6634 2 года назад +1

    Thanks a lot

  • @okolona1
    @okolona1 4 года назад

    Appreciated your help, Thanks

  • @henrychan5843
    @henrychan5843 4 года назад

    U forget to delete old migration.js and old JQ.

    • @webstylepress
      @webstylepress  4 года назад

      Please explain more.

    • @subashininatesan9295
      @subashininatesan9295 Год назад

      @Vishal Kumar can you please guide me to migrate jquery version 1.6.4 to 3.6.4? without Migrate plugin I have just updated the nuget package but now my jasmine unit test cases are failing with $ is not defined, So we need to go only via migrate plugin, have done migration in your project?

  • @thusaradeemantha9249
    @thusaradeemantha9249 3 года назад

    This is really helpful, I need a ASAP help for a project.Can you give me your contact?

  • @okolona1
    @okolona1 4 года назад +1

    Appreciated your help, Thanks