Skip to content

Separate render and style params from building #61

@rnystrom

Description

@rnystrom

Love this blog post! Removing all color/font from building would be amazing. Instead:

  • Use "style builder" pattern that registers styles
    • Need to still be able to "push" and "pop" styles
    • Should all props be in one style (.font, .foregroundColor, etc), or should there be a style per prop? Latter seems harder to maintain
  • Remove UIContentSizeCategory from all params until render

Necessary to make progress towards GitHawkApp/GitHawk#198 so you can have themes/styles and re-render (missing all caches) w/out having to rebuild everything (which you'd have to do today).

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions