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

[Live] Remove obsolete internal #1841

Closed
wants to merge 1 commit into from

Conversation

smnandre
Copy link
Collaborator

The component_url Twig function is not used (for a lot of time), is internal and.... unused.

So this PR removes it.

(i'm starting a little inventory of the code to see what is possible in term of separation between the components)

The component_url Twig function is not used since long time, is internal and unused, so this PR removes it.

(i'm starting a little inventory of the code to see what is possible in term of separation between the components)
@carsonbot carsonbot added the Status: Needs Review Needs to be reviewed label May 12, 2024
@smnandre smnandre requested a review from kbond May 12, 2024 01:02
@kbond kbond changed the title [Live] Remove obselete internal [Live] Remove obsolete internal May 13, 2024
@kbond
Copy link
Member

kbond commented May 13, 2024

Hmm, not sure about this. While the code to provide the twig function is internal, the twig function itself isn't internal and might be used.

If I recall correctly, this function was added as a way to lazily load twig components with turbo. It might be used in the wild. I wonder though, now that we have true lazy components, is it still needed? Maybe we should deprecate and see?

@smnandre
Copy link
Collaborator Author

Oh i did not know that, i imagined it was some internal thing from the start. Let's close it then :)

@smnandre smnandre closed this May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Review Needs to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants