Ensure component hooks are prefixed by provider

Created on 4 October 2022, over 1 year ago
Updated 29 January 2023, over 1 year ago

This will prevent errors with re-declared functions when two components with the same machine name are on the same request.

As a side effect, it will make copying & pasting a component a bit more complex. This is because devs will need to change the extension name in the component hooks.

There should be an error explaining the fix when a component hook is not using the correct provider.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

e0ipso Can Picafort

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024