Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: Move app context into app module #875

Merged
merged 3 commits into from
Sep 11, 2023

Conversation

madsrasmussen
Copy link
Contributor

@madsrasmussen madsrasmussen commented Sep 11, 2023

I have moved the app.context.js into the app module to keep dependencies close to each other. The App Context is now exposed through the app module. It removes the context module at the same time which could lead to confusion between the context module and context-API module

These changes also need to be updated in the razor templates: see PR: umbraco/Umbraco-CMS#14792

Copy link
Collaborator

@iOvergaard iOvergaard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! But I think you need to update the exports of package.json as well if it is publically accessible. Otherwise people won't get typings for the module.

@madsrasmussen
Copy link
Contributor Author

@iOvergaard so close. It is updated now.

@iOvergaard iOvergaard merged commit 8f7cbf8 into main Sep 11, 2023
6 checks passed
@iOvergaard iOvergaard deleted the feature-move-app-context-into-app branch September 11, 2023 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants