I new to fastify framework for node.js, and I'm asking for what is the exact use of fastify-plugin because I can't get the the idea behind it. I tried some code with or without the plugin and I can't notice the difference. except for some behavior like :
1- I can override the decorator I initiate and wrapped it with fastify-plugin.
2- I can use and share the decorator with other registered plugins.