This repository was archived by the owner on Dec 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
fix(deps): update dependency react-native-web to v0.18.10 #562
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/react-native-web-0.x
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b04b598 to
97ec98d
Compare
97ec98d to
ef2fcf1
Compare
ef2fcf1 to
3255669
Compare
0f54aca to
670040a
Compare
670040a to
c473d59
Compare
c473d59 to
9434e26
Compare
9434e26 to
5d17c8d
Compare
5d17c8d to
5c727c5
Compare
5c727c5 to
00c652a
Compare
00c652a to
f245604
Compare
f245604 to
7069d88
Compare
7069d88 to
e5fb9a3
Compare
e5fb9a3 to
b5634ac
Compare
b5634ac to
257752c
Compare
257752c to
2da1e4f
Compare
2da1e4f to
9cb8801
Compare
9cb8801 to
89d06c1
Compare
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.17.1->0.18.10Release Notes
necolas/react-native-web
v0.18.10Compare Source
v0.18.9Compare Source
v0.18.8Compare Source
v0.18.7Compare Source
v0.18.6Compare Source
v0.18.5Compare Source
v0.18.4Compare Source
v0.18.3Compare Source
v0.18.2Compare Source
v0.18.1Compare Source
v0.18.0: 0.18Compare Source
Breaking changes
StyleSheet.create()is now the identify function, returning the input style objects. Previously, it replaced styles with numeric ids. This improves compatibility with React Native, but accessing the returned style objects at runtime is still not recommended as it can prevent static extraction to CSS. (#2068)StyleSheet.getSheet()can be used on the server to retrieve the current style sheet as a CSS string. (#2196)I18nManageris now a mock API included only for compatibility with React Native. The ability to flip left/right properties or values has now been removed entirely (use start/end instead). See below for new localization APIs.StyleSheet.create().accessible,accessibilityState, andaccessibilityValueprops have been removed.:focus-visiblepolyfill has been removed, as by default modern browsers no longer show focus rings for pointer interactions.unstable_createElementAPI has changed. Children are no longer accepted as the 3rd argument, they must be included in the props as the 2nd argument. The 3rd argument is now an options object with a field to set the expected writing direction ({ writingDirection }).New features
dirorlangprop on a component. By default, layouts are rendering RTL. To render RTL you must setdir="rtl"on an outer element rendered by React.useLocaleContextis a new export API. Use it to query a component's locale and writing direction context for fine-grained control over localized layout.StyleSheet.flattencannot work with extracted styles. (See below for more details.)Fixes
CheckBoxandSwitchelements. (#2242)Linking.openURLsupportstargetvalue. (#2277)Notes
StyleSheet runtime
StyleSheethas been rewritten to better separate the runtime from the compiler. The performance of the new merging runtime is on par with using css-modules. The core runtime is a standalone package called styleQ; refer to the styleQ documentation for more details.The performance of inline styles has also been significantly improved, although
StyleSheetstill has to perform extra work to transform non-standard React Native styles and polyfill logical styles.The
StyleSheetimport is now a standalone module.StyleSheetitself is a function that can be called to resolve styles to DOMclassNameandstylevalues, e.g.,StyleSheet extraction
One of the benefits behind the new architecture is that
StyleSheetcan resolve compiled styles that conform to the expected format, whether they are produced by the built-in compiler or an external source. However, this is not yet recommended, as explained below.Style compilers must produce annotated objects that are treated as class name maps, and classes are de-duplicated based on whether they share the same key, e.g.,
This is the first step towards allowing 3rd party tools to extract styles to static CSS files, and optionally dropping the client-side compiler, without needing to integrate deeply with the
StyleSheetruntime or having to modify props/prop values in the source code, i.e., only theStyleSheet.create()call needs transforming by the compiler.The existence of the
StyleSheet.flatten()API is a problem for build-time compiling of some styles. Components that flatten styles (e.g.,Animated,Image) expect to be able to work with the source styles, and use the source values at runtime. A compiler that aims to extract all styles and have no runtime transform would also need to disallow the use ofStyleSheet.flatten()entirely. A future release of React Native for Web may remove use ofStyleSheet.flattenfrom internal implementations, but cannot prevent this API from being used in product code or 3rd party packages.v0.17.7Compare Source
v0.17.6Compare Source
v0.17.5Compare Source
v0.17.4Compare Source
v0.17.3Compare Source
v0.17.2Compare Source
Configuration
📅 Schedule: Branch creation - "after 4pm on friday,before 9am on monday,every weekend" in timezone Europe/Paris, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.