Reputation: 29
I'm going to study jQuery on prefessional level, I can write simple or advanced scripts and I have been using jQuery 1.7 version in which are functions and methods (like toggle();) which have been removed in latest versions (1.9, 1.10)..
now I'm using jQuery 1.10 and Sometimes I want to use old functions and methods, but they have been removed in 1.10... As I know, jQuery Migrate Plugin solves this problem..
Is it any problem, to use Migrate Plugin? or is it better to forget old functions and methods? I don't know what to do when I want to use old functions and methods..(for example: toggle();)
Upvotes: 1
Views: 621
Reputation: 3198
The migrate plugin can be useful for old applications but in the case of a new application it is much better to avoid using migration plugins. If tomorrow you upgrade your jQuery version you will have to deal with all your bunch of deprecated/removed code and continue using your migration plugin. However you may use the migration plugin in case you absolutely need to use another plugin not yet upgraded, but this is temporary.
Upvotes: 1