A framework for building native Windows apps with React.
OTHER License
Bot releases are hidden (Show)
Published by dannyvv almost 4 years ago
Published by dannyvv almost 4 years ago
Published by NickGerleman almost 4 years ago
We're excited to release our first preview build of react-native-windows
0.64! This build targets react-native
0.64.0-rc.1 and above. There have been many changes to both react-native-windows
and react-native
itself and we would love your feedback on anything that doesn't work as expected.
Easy opt-in to Hermes: It's easier than ever to try Hermes! We expect projects trying Hermes to see performance increases in most cases. While there are teams using Hermes in production, its support is still experimental, and we do not yet support Hermes debugger or Hermes in C# applications. We would still love to know if you try Hermes and run into any issues.
Improved API parity: More component properties supported by other platforms now work on Windows, such as Text backgroundColor
, border
, and textTransform
. An initial version of AccessibilityInfo
is now available. Platform.version
is now implemented.
React 17 and faster startup by default: React Native 0.64 brings the latest version of React, and changes the default metro configuration to enable "inline requires", allowing for faster startup by default.
Access to the JSI runtime: C++ applications can now directly interface with the JSI runtime using the winrt::Microsoft::ReactNative::ExecuteJSI
API. This will work anywhere a ReactContext
is available and web-debugging is not in use.
Community module templates: A new workflow makes it easier to create community modules for Windows by using a built-in template.
Instance lifecycle events: Native code can now respond to the react native instance being created, loaded, or destroyed.
A brand new WebSocket stack: The existing WebSocket stack has been replaced with an all new, more-correct, production-hardened implementation.
Bug-fixes and improvements: The above just scratches the surface on the work that has been happening! We've been continually making bug fixes and improvements across the project.
Native module thread affinity: A bug was discovered which led to custom native modules often being invoked on the UI thread. This was unintentional and has been changed. We recognize that this may break existing modules in cases where affinity was relied upon without explicitly queuing to the UI thread. Please let us know if you are effected by this change, or are using a community module which is affected.
acceptsKeyboardFocus
is removed: In 0.63 we started warning on usage of acceptsKeyboardFocus
that the property would be replaced by the built-in and type-safe focusable
. In 0.64 we removed support from the property, redboxing if it is passed to a view and ignoring the property on touchables.
AppTheme
API reconciliation with Appearance
: React Native 0.62 introduced Appearance
and useColorScheme
hooks to respond to changes in light/dark mode. This functionality supersedes several APIs in the react-native-windows
specific AppTheme
library. AppTheme
functions that warned about removal in 0.63 are removed in 0.64. See more here on how to write components that adapt to theme.
EmitJSEvent
parameter passing: Calls to EmitJSEvent
on the ReactContext
previously wrapped the event object in a JavaScript array instead of passing it 1:1. This was fixed in 0.64, but any existing consumption of events fired by EmitJSEvent
must be updated.
ref.focus()
focus visuals: Calling focus()
on a component ref will now show native focus visuals by default. If you don't want focus visuals around your component, you can set the property enableFocusRing={false}
.
Synchronous native module returns: Native module methods marked as synchronous would previously have their results wrapped in an array. This is no longer the case.
The most surefire way to upgrade from 0.62 or 0.63 is to generate a new project targeting 0.64 using react-native-windows-init
and copy over your project content. In the future we would like to provide diffs to help make this easier in the style of react-native-upgrade-helper
.
Published by NickGerleman over 4 years ago
407c0834
Explicitly disallow prerelease changes in 0.61-stable ([email protected])Published by NickGerleman over 4 years ago
407c0834
Add a timeout to catch hangs during cert generation ([email protected])407c0834
Fix direct debugging ([email protected])407c0834
Update MSBuild Tasks to use MSBuild x64 ([email protected])407c0834
Set $(ReactNativeWindowsDir) before it is used ([email protected])407c0834
Fix crash when calling measure on non-framework element ([email protected])Published by NickGerleman over 4 years ago
407c0834
Revert #4487 in 0.61-stable ([email protected])Published by NickGerleman over 4 years ago
407c0834
Add missing placeholder certs for when cert generation fails ([email protected])Published by NickGerleman over 4 years ago
407c0834
fix bug where not specifying height on TextInput causes 0 height ([email protected])Published by NickGerleman over 4 years ago
407c0834
Added inline to REACT_STRUCT's GetStructInfo to use in header files ([email protected])Published by NickGerleman over 4 years ago
407c0834
implement accessibilityState ([email protected])Published by NickGerleman over 4 years ago
407c0834
Delay load ChakraCore.dll ([email protected])Published by NickGerleman over 4 years ago
407c0834
Disable copying V8 dll to target output; we need a clearer way to distinguish uwp vs. win32 in the build system but this will do for now to unblock #4475 ([email protected])Published by NickGerleman over 4 years ago
407c0834
Publish 0.61 as "v0.61-stable" instead of "latest" ([email protected])Published by NickGerleman over 4 years ago
407c0834
Use separate brush for text control border ([email protected])Published by NickGerleman over 4 years ago
407c0834
work around VS16.5-16.6 regression in UWP packaging ([email protected])Published by NickGerleman over 4 years ago
f8f7c3bb
revert dfc57fcf2504f57baab20f550b36a618eaa99e56 ([email protected])Published by NickGerleman over 4 years ago
fa132f42
Disable V8 by default ([email protected])Published by NickGerleman over 4 years ago
b7cadc57
Drop LazySupportManager ([email protected])Published by NickGerleman over 4 years ago
2bb52ff7
Publish as 0.62 Preview ([email protected])Published by NickGerleman over 4 years ago
80ff55dc
Added C# ReactContext for Module Initialize method ([email protected])82d017d6
Update react version ([email protected])fd42f750
.net projects need more work to build a package layout ([email protected])ecc73adc
Package Fixes ([email protected])325946e0
Delay load ChakraCore.dll ([email protected])c994ef94
Stop publishing ReactHwp NuGet Package ([email protected])