PluginHooks

Tags: #<Tag:0x00007efc6de0c3b8> #<Tag:0x00007efc6de0c110>

Hi,
Is there a guide on Handsontable HooksPlugins like beforeOnCellMouseDown after upgrading to the latest version?
I want to avoid refactoring the code of hooks. the application is in Angular.

Hi @gawdeketaki7

Can you please explain a little more? The only change about this hook was in v. 10, but that was a change in the arguments: https://handsontable.com/docs/javascript-data-grid/migration-from-9.0-to-10.0/#step-4-adapt-to-the-handsontable-hooks-changes

I understand that hooks have now changed the parameters but if I do not want to refactor the entire implementation w.r.t to the paramters , is there a fix? like a backwards compatible plugin?

@gawdeketaki7

We don’t offer backward compatibility if there was a breaking change in the API in any version. The only way is to adapt to the new solution or stay on the version before breaking change, but this way isn’t recommended in general, as with each new version we improve the performance, security and add new fixes.