-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Define public API #473
Milestone
Comments
Before deciding on how to expose the public API, let's just start by listing out all the concepts that we expect people to understand to use components in their projects:
Anything else? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently it's not entirely clear what interfaces (files/variables) are part of public API. Before v1.0, it would be also good to clear this up, so we know which things we can change internally, and which need to be maintained.
This project also doesn't have very big surface area, so I think that for now it could be sufficient to expose the "public" parts via
src/__init__.py
, so it can be imported asThe exception to the above are middleware and template tags, which can be used in Django settings and referenced via filepath (e.g.
"django_components.templatetags.component_tags"
The text was updated successfully, but these errors were encountered: