You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is inspired by Jetpack Compose and does the job -- but what if we want to allow users to change these defaults in their own applications?
We should consider a different approach here, either doing something like exposing mutable defaults that get frozen at silk initialization time, or by using composition local providers. The latter could be useful if it makes sense to change defaults for some subsection of your site; while the former if defaults should be set once everywhere.
The text was updated successfully, but these errors were encountered:
Currently, we have code like this:
This is inspired by Jetpack Compose and does the job -- but what if we want to allow users to change these defaults in their own applications?
We should consider a different approach here, either doing something like exposing mutable defaults that get frozen at silk initialization time, or by using composition local providers. The latter could be useful if it makes sense to change defaults for some subsection of your site; while the former if defaults should be set once everywhere.
The text was updated successfully, but these errors were encountered: