8000 Abstract out initialization hooks for native by dmjio · Pull Request #979 · dmjio/miso · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Abstract out initialization hooks for native #979

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

Merged
merged 1 commit into from
Jun 10, 2025
Merged

Abstract out initialization hooks for native #979

merged 1 commit into from
Jun 10, 2025

Conversation

dmjio
Copy link
Owner
@dmjio dmjio commented Jun 9, 2025

Custom renderers will need to initialize things differently (e.g. adding styles to a page is different on web than mobile)

  • Adds extra hooks arg to eval JSM actions
  • Defines renderComponent in terms of hooks

When Nothing is provided to renderComponent this indicates a web drawing context and renderStyles styles will be used.

< 85CE div class="d-flex flex-md-row flex-column">
Custom renderers will need to initialize things differently (e.g. adding styles to a page is different on web than mobile)

- [x] Adds extra hooks arg to eval JSM actions
- [x] Defines renderComponent in terms of hooks

When `Nothing` is provided to `renderComponent` this indicates a web
drawing context and `renderStyles styles` will be used.
@dmjio dmjio merged commit f9fbc73 into master Jun 10, 2025
3 checks passed
@dmjio dmjio deleted the init-hooks branch June 10, 2025 01:29
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.

1 participant
0