Title: Style.t isn't enough, should we add Style.calculated? · Issue #523 · rescript-react-native/rescript-react-native · GitHub
Open Graph Title: Style.t isn't enough, should we add Style.calculated? · Issue #523 · rescript-react-native/rescript-react-native
X Title: Style.t isn't enough, should we add Style.calculated? · Issue #523 · rescript-react-native/rescript-react-native
Description: As we know, all stylesheet values cannot be used in various places to add/combine styles (because they are int). Also we cannot use array() in stylesheets (runtime error). Should we do something (at least try to) to avoid this kind of is...
Open Graph Description: As we know, all stylesheet values cannot be used in various places to add/combine styles (because they are int). Also we cannot use array() in stylesheets (runtime error). Should we do something (a...
X Description: As we know, all stylesheet values cannot be used in various places to add/combine styles (because they are int). Also we cannot use array() in stylesheets (runtime error). Should we do something (a...
Opengraph URL: https://github.com/rescript-react-native/rescript-react-native/issues/523
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Style.t isn't enough, should we add Style.calculated?","articleBody":"As we know, all stylesheet values cannot be used in various places to add/combine styles (because they are `int`). Also we cannot use array() in stylesheets (runtime error).\r\n\r\nShould we do something (at least try to) to avoid this kind of issue?\r\n\r\nMaybe `StyleSheet.create` could returns `Style.calculated` so we cannot reuse those styles (\u0026 btw, `flatten` could only accept those styles ?).\r\nThat would make more complex the way we allow to use style in array for example but I wanted to give it a shot...\r\n\r\nAlso, in #520 we are saying that `absoluteFill` \u0026 `absoluteFillObject` are \"the same\" but they are not are one is a js object \u0026 the other is an int...\r\n\r\nThoughts?","author":{"url":"https://github.com/MoOx","@type":"Person","name":"MoOx"},"datePublished":"2019-05-31T08:07:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/523/rescript-react-native/issues/523"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:944b26bf-d34c-5290-6da7-32ac9dc44f92 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C212:1929BA:189EB7F:227F736:696522BD |
| html-safe-nonce | 784e255532e04174d808e65665b1f68b4f3a998ea09079899c70e6a62610b7c3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjEyOjE5MjlCQToxODlFQjdGOjIyN0Y3MzY6Njk2NTIyQkQiLCJ2aXNpdG9yX2lkIjoiMzg3ODA4Njc4NTQ5MjEzMjU0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 299753a1c53181bc6702cdbc207ec76e0ca10e859bcf36bc4e08e87457cf61cb |
| hovercard-subject-tag | issue:450670725 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/rescript-react-native/rescript-react-native/523/issue_layout |
| twitter:image | https://opengraph.githubassets.com/26d42dce9c37e5a2fced3e7169aee0865f75c9b3015fb72f0ff6e7694bd6650b/rescript-react-native/rescript-react-native/issues/523 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/26d42dce9c37e5a2fced3e7169aee0865f75c9b3015fb72f0ff6e7694bd6650b/rescript-react-native/rescript-react-native/issues/523 |
| og:image:alt | As we know, all stylesheet values cannot be used in various places to add/combine styles (because they are int). Also we cannot use array() in stylesheets (runtime error). Should we do something (a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MoOx |
| hostname | github.com |
| expected-hostname | github.com |
| None | 78ed63d2e65e1c05681fba8eb2bd7ca09088f264570071f03eaf49d14d9bad87 |
| turbo-cache-control | no-preview |
| go-import | github.com/rescript-react-native/rescript-react-native git https://github.com/rescript-react-native/rescript-react-native.git |
| octolytics-dimension-user_id | 54703302 |
| octolytics-dimension-user_login | rescript-react-native |
| octolytics-dimension-repository_id | 86237257 |
| octolytics-dimension-repository_nwo | rescript-react-native/rescript-react-native |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 86237257 |
| octolytics-dimension-repository_network_root_nwo | rescript-react-native/rescript-react-native |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6d0bd2cfa31184bb64dc21a57a0fa776eb79accc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width