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

Remove DefaultApp, make DOMRenderer internal #227

Merged
merged 3 commits into from
Aug 1, 2020
Merged

Conversation

MaxDesiatov
Copy link
Collaborator

Removes the View-based initializer of DOMRenderer which no longer leaves any public initializers on it, means we can make it fully internal. DOMNode is now internal too, which is great as it was an implementation detail anyway. Corollary, DefaultApp is no longer needed.

Target was cleaned up is it doesn't need to hold App or Scene values, now it's just a simple protocol.

I've updated README.md to show usage of the App protocol in the basic example.

Closes #224.

@MaxDesiatov MaxDesiatov added documentation Technical writing, references, tutorials etc refactor No user-visible functionality change labels Jul 29, 2020
@MaxDesiatov MaxDesiatov requested review from carson-katri and j-f1 July 29, 2020 20:55
@MaxDesiatov MaxDesiatov requested a review from carson-katri July 30, 2020 00:29
@MaxDesiatov MaxDesiatov merged commit 40804d4 into main Aug 1, 2020
@MaxDesiatov MaxDesiatov deleted the remove-defaultapp branch August 1, 2020 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Technical writing, references, tutorials etc refactor No user-visible functionality change
Development

Successfully merging this pull request may close these issues.

Establish App lifecycle as the only way to start rendering
3 participants