fix(deps): update dependency react-refresh to ^0.16.0 #58
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.8.3
->^0.16.0
Release Notes
facebook/react (react-refresh)
v0.16.0
Compare Source
v0.14.2
Compare Source
React DOM
integrity
attributechildren
prop being coerced to a string for custom elements, which was not the desired behaviorreact
fromdependencies
topeerDependencies
to match expectations and align withreact-addons-*
packagesv0.14.1
Compare Source
React
v0.14.0
Compare Source
Major changes
react
package into two:react
andreact-dom
. This paves the way to writing components that can be shared between the web version of React and React Native. This means you will need to include both files and some functions have been moved fromReact
toReactDOM
.react-addons-clone-with-props
,react-addons-create-fragment
,react-addons-css-transition-group
,react-addons-linked-state-mixin
,react-addons-perf
,react-addons-pure-render-mixin
,react-addons-shallow-compare
,react-addons-test-utils
,react-addons-transition-group
,react-addons-update
,ReactDOM.unstable_batchedUpdates
).props
) which returns a JSX element, and this function may be used as a component.getDOMNode()
to get the underlying DOM node. Starting with this release, a ref to a DOM component is the actual DOM node. Note that refs to custom (user-defined) components work exactly as before; only the built-in DOM components are affected by this change.Breaking changes
React.initializeTouchEvents
is no longer necessary and has been removed completely. Touch events now work automatically.TestUtils.findAllInRenderedTree
and related helpers are no longer able to take a DOM component, only a custom component.props
object is now frozen, so mutating props after creating a component element is no longer supported. In most cases,React.cloneElement
should be used instead. This change makes your components easier to reason about and enables the compiler optimizations mentioned above.createFragment
helper to migrate, which now returns an array.classSet
has been removed. Use classnames instead.class
instead ofclassName
.Deprecations
this.getDOMNode()
is now deprecated andReactDOM.findDOMNode(this)
can be used instead. Note that in the common case,findDOMNode
is now unnecessary since a ref to the DOM component is now the actual DOM node.setProps
andreplaceProps
are now deprecated. Instead, call ReactDOM.render again at the top level with the new props.React.Component
in order to enable stateless function components. The ES3 module pattern will continue to work.style
object between renders has been deprecated. This mirrors our change to freeze theprops
object.cloneWithProps
is now deprecated. UseReact.cloneElement
instead (unlikecloneWithProps
,cloneElement
does not mergeclassName
orstyle
automatically; you can merge them manually if needed).CSSTransitionGroup
will no longer listen to transition events. Instead, you should specify transition durations manually using props such astransitionEnterTimeout={500}
.Notable enhancements
React.Children.toArray
which takes a nested children object and returns a flat array with keys assigned to each child. This helper makes it easier to manipulate collections of children in yourrender
methods, especially if you want to reorder or slicethis.props.children
before passing it down. In addition,React.Children.map
now returns plain arrays too.console.error
instead ofconsole.warn
for warnings so that browsers show a full stack trace in the console. (Our warnings appear when you use patterns that will break in future releases and for code that is likely to behave unexpectedly, so we do consider our warnings to be “must-fix” errors.)Symbol
in browsers that support it, in order to ensure that React never considers untrusted JSON to be a valid element. If this extra security protection is important to you, you should add aSymbol
polyfill for older browsers, such as the one included by Babel’s polyfill.capture
,challenge
,inputMode
,is
,keyParams
,keyType
,minLength
,summary
,wrap
. It also now supports these non-standard attributes:autoSave
,results
,security
.xlinkActuate
,xlinkArcrole
,xlinkHref
,xlinkRole
,xlinkShow
,xlinkTitle
,xlinkType
,xmlBase
,xmlLang
,xmlSpace
.image
SVG tag is now supported by React DOM.is="..."
attribute).audio
andvideo
tags:onAbort
,onCanPlay
,onCanPlayThrough
,onDurationChange
,onEmptied
,onEncrypted
,onEnded
,onError
,onLoadedData
,onLoadedMetadata
,onLoadStart
,onPause
,onPlay
,onPlaying
,onProgress
,onRateChange
,onSeeked
,onSeeking
,onStalled
,onSuspend
,onTimeUpdate
,onVolumeChange
,onWaiting
.shallowCompare
add-on has been added as a migration path forPureRenderMixin
in ES6 classes.CSSTransitionGroup
can now use custom class names instead of appending-enter-active
or similar to the transition name.New helpful warnings
document.body
directly as the container toReactDOM.render
now gives a warning as doing so can cause problems with browser extensions that modify the DOM.Notable bug fixes
<option>
elements with multiple text children properly and renders<select>
elements on the server with the correct option selected.React.createElement('DIV')
) no longer causes problems, though we continue to recommend lowercase for consistency with the JSX tag name convention (lowercase names refer to built-in components, capitalized names refer to custom components).animationIterationCount
,boxOrdinalGroup
,flexOrder
,tabSize
,stopOpacity
.Simulate.mouseEnter
andSimulate.mouseLeave
now work.React Tools / Babel
Breaking Changes
react-tools
package andJSXTransformer.js
browser file have been deprecated. You can continue using version0.13.3
of both, but we no longer support them and recommend migrating to Babel, which has built-in support for React and JSX.New Features
optimisation.react.inlineElements
transform converts JSX elements to object literals like{type: 'div', props: ...}
instead of calls toReact.createElement
. This should only be enabled in production, since it disables some development warnings/checks.optimisation.react.constantElements
transform hoists element creation to the top level for subtrees that are fully static, which reduces calls toReact.createElement
and the resulting allocations. More importantly, it tells React that the subtree hasn’t changed so React can completely skip it when reconciling. This should only be enabled in production, since it disables some development warnings/checks.v0.13.0
Compare Source
React Core
Breaking Changes
props
after an element is created is deprecated and will cause warnings in development mode; future versions of React will incorporate performance optimizations assuming that props aren't mutatedstatics
) are no longer autobound to the component classref
resolution order has changed slightly such that a ref to a component is available immediately after itscomponentDidMount
method is called; this change should be observable only if your component calls a parent component's callback within yourcomponentDidMount
, which is an anti-pattern and should be avoided regardlesssetState
in life-cycle methods are now always batched and therefore asynchronous. Previously the first call on the first mount was synchronous.setState
andforceUpdate
on an unmounted component now warns instead of throwing. That avoids a possible race condition with Promises.this._pendingState
andthis._rootNodeID
.New Features
React.findDOMNode(component)
, which should be used in place ofcomponent.getDOMNode()
. The base class for ES6-based components will not havegetDOMNode
. This change will enable some more patterns moving forward.React.cloneElement(el, props)
for making copies of React elements – see the v0.13 RC2 notes for more details.ref
style, allowing a callback to be used in place of a name:<Photo ref={(c) => this._photo = c} />
allows you to reference the component withthis._photo
(as opposed toref="photo"
which givesthis.refs.photo
).this.setState()
can now take a function as the first argument for transactional state updates, such asthis.setState((state, props) => ({count: state.count + 1}));
– this means that you no longer need to usethis._pendingState
, which is now gone.Deprecations
ComponentClass.type
is deprecated. Just useComponentClass
(usually aselement.type === ComponentClass
).createClass
-based components are removed or deprecated from ES6 classes (getDOMNode
,replaceState
,isMounted
,setProps
,replaceProps
).React with Add-Ons
New Features
React.addons.createFragment
was added for adding keys to entire sets of children.Deprecations
React.addons.classSet
is now deprecated. This functionality can be replaced with several freely available modules. classnames is one such module.React.addons.cloneWithProps
can be migrated to useReact.cloneElement
instead – make sure to mergestyle
andclassName
manually if desired.React Tools
Breaking Changes
class
methods are no longer enumerable by default, which requiresObject.defineProperty
; if you support browsers such as IE8, you can pass--target es3
to mirror the old behaviorNew Features
--target
option is available on the jsx command, allowing users to specify and ECMAScript version to target.es5
is the default.es3
restores the previous default behavior. An additional transform is added here to ensure the use of reserved words as properties is safe (egthis.static
will becomethis['static']
for IE8 compatibility).JSXTransformer
Breaking Changes
transform
now containssourceMap
as a JS object already, not an instance ofSourceMapGenerator
.JSX
Breaking Changes
>
or}
when inside an element. Previously it would be treated as a string but now it will be treated as a parse error. Thejsx_orphaned_brackets_transformer
package on npm can be used to find and fix potential issues in your JSX code.v0.12.0
Compare Source
React Core
Breaking Changes
key
andref
moved off props object, now accessible on the element directlyReact.__internals
is removed - it was exposed for DevTools which no longer needs accessReact.createFactory
first. This is handled for you when using JSX.New Features
{...}
) introduced to deprecatethis.transferPropsTo
acceptCharset
,classID
,manifest
Deprecations
React.renderComponent
-->React.render
React.renderComponentToString
-->React.renderToString
React.renderComponentToStaticMarkup
-->React.renderToStaticMarkup
React.isValidComponent
-->React.isValidElement
React.PropTypes.component
-->React.PropTypes.element
React.PropTypes.renderable
-->React.PropTypes.node
React.isValidClass
instance.transferPropsTo
false
from event handlers to preventDefaultReact.createFactory
key={null}
to assign implicit keysBug Fixes
event.getModifierState
as case sensitiveevent.charCode
list
updates correctly nowscrollLeft
,scrollTop
removed, these should not be specified as propsReact With Addons
New Features
React.addons.batchedUpdates
added to API for hooking into update cycleBreaking Changes
React.addons.update
usesassign
instead ofcopyProperties
which doeshasOwnProperty
checks. Properties on prototypes will no longer be updated correctly.Bug Fixes
JSX
Breaking Changes
New Features
@jsx React.DOM
no longer required{...}
) operator introduced to allow easier use of propsBug Fixes
v0.11.0
Compare Source
React Core
Breaking Changes
getDefaultProps()
is now called once per class and shared across all instancesMyComponent()
now returns a descriptor, not an instanceReact.isValidComponent
andReact.PropTypes.component
validate descriptors, not component instancespropType
validators should return anError
instead of logging directlyNew Features
null
e.key
ande.getModifierState()
propertiesonBeforeInput
eventReact.Children.count
has been added as a helper for counting the number of childrenBug Fixes
e.view
properly normalizedcoords
,crossOrigin
,download
,hrefLang
,mediaGroup
,muted
,scrolling
,shape
,srcSet
,start
,useMap
)className
on a mounted SVG component now works correctlymask
andtspan
dx
,dy
,fillOpacity
,fontFamily
,fontSize
,markerEnd
,markerMid
,markerStart
,opacity
,patternContentUnits
,patternUnits
,preserveAspectRatio
,strokeDasharray
,strokeOpacity
Webkit
,ms
,Moz
,O
) are now handled properlyimg
event listeners are now unbound properly, preventing the error "Two valid but unequal nodes with the samedata-reactid
"React With Addons
$apply
command to transform valuesReact NPM Module
dist/
.envify
is properly listed as a dependency instead of a peer dependencyJSX
<Components.Checkbox />
harmony
features available in the command line with<script type="text/jsx;harmony=true">
React Tools Module
--harmony
option--source-map-inline
option to thejsx
executabletransformWithDetails
API which gives access to the raw sourcemap datav0.10.0
Compare Source
React Core
New Features
data-reactid
,data-react-checksum
). This DOM will not be mountable by React. Read the docs forReact.renderComponentToStaticMarkup
srcSet
for<img>
to specify images at different pixel ratiostextAnchor
for SVGBug Fixes
className={false}
behaves consistentlythis.refs
is defined, even if no refs are specified.Addons
update
function to deal with immutable data. Read the docsreact-tools
transform
function. The only option supported isharmony
, which behaves the same asjsx --harmony
on the command line. This uses the ES6 transforms from jstransform.v0.9.0
React Core
Breaking Changes
componentDidMount
andcomponentDidUpdate
no longer receive the root node as a parameter; usethis.getDOMNode()
insteadundefined
, the default value returned bygetDefaultProps
will now be used insteadReact.unmountAndReleaseReactRootNode
was previously deprecated and has now been removedReact.renderComponentToString
is now synchronous and returns the generated HTML string<html>
tag using React) is now supported only when starting with server-rendered markupdeltaY
is no longer negatedinput
,select
, andtextarea
elements,.getValue()
is no longer supported; use.getDOMNode().value
insteadthis.context
on components is now reserved for internal use by ReactNew Features
defs
,linearGradient
,polygon
,radialGradient
,stop
crossOrigin
for CORS requestsdownload
andhrefLang
for<a>
tagsmediaGroup
andmuted
for<audio>
and<video>
tagsnoValidate
andformNoValidate
for formsproperty
for Open Graph<meta>
tagssandbox
,seamless
, andsrcDoc
for<iframe>
tagsscope
for screen readersspan
for<colgroup>
tagspropTypes
in mixinsany
,arrayOf
,component
,oneOfType
,renderable
,shape
toReact.PropTypes
statics
on component spec for static component methods.currentTarget
is now properly set.key
is now polyfilled in all browsers for special (non-printable) keys.clipboardData
is now polyfilled in IE.dragTransfer
is now presentonMouseOver
andonMouseOut
in addition to the existingonMouseEnter
andonMouseLeave
eventsonLoad
andonError
on<img>
elementsonReset
on<form>
elementsautoFocus
attribute is now polyfilled consistently oninput
,select
, andtextarea
Bug Fixes
__owner__
property to each component'sprops
object; passed-in props are now never mutatedReact.renderComponent
withincomponentDidMount
), events now properly bubble to the parent component.target
,.relatedTarget
, and.type
are now set properly.data
is now properly normalized in IE9 and IE10px
appended for the unitless propertiescolumnCount
,flex
,flexGrow
,flexShrink
,lineClamp
,order
,widows
componentWillUnmount
handlerrenderComponentToString
would store event handlersdisabled
are rendered without a value (previouslydisabled="true"
, now simplydisabled
)key
values containing.
are now supporteddata-reactid
values for performancekey
property changesdocument
only when necessary, improving performance in some cases.returnValue
in modern browsers, eliminating a warning in ChromescrollLeft
andscrollTop
are no longer accessed on document.body, eliminating a warning in ChromeReact with Addons
React.addons.TestUtils
was added to help write unit testsReact.addons.TransitionGroup
was renamed toReact.addons.CSSTransitionGroup
React.addons.TransitionGroup
was added as a more general animation wrapperReact.addons.cloneWithProps
was added for cloning components and modifying their propstransitionLeave
in CSSTransitionGroup<input>
elements,checkedLink
is now supported for two-way bindingJSX Compiler and react-tools Package
react-tools
npm package no longer includes the React core libraries; use thereact
package instead.displayName
is now added in more cases, improving error messages and names in the React Dev ToolsJSXTransformer
now uses source maps automatically in modern browsersJSXTransformer
error messages now include the filename and problematic line contents when a file fails to parseConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 was generated by Mend Renovate. View the repository job log.