- Revert #75. It caused issues in some cases.
- Merge #85 - Reuse the DOM in updates when using the mixin.
- Fix builds, as reported by #81 - It used to use a tool I built, bastion, but npm@3+ broke that. Uses webpack directly now.
- Add a bind where there could be potential issues. Fixes #75.
- Merge #65 - Documentation improvements.
- Merge #69 - Return an empty string from style getters by default. From issue #68.
- Merge #71 - Changes npmcdn URLs to unpkg. Not sure why they're doing this but oh well.
Breaking change because of the following:
- The default return type of the style functions have changed from
undefined
tostring
. - The unpkg build (previously npmcdn) exports to the global
ReactFauxDOM
instead ofreact-faux-dom
.
- Merge #59 - Updates D3 to v4 (a
devDependency
) and makes sure the tests work fine.
- REALLY fix
package.json
, just realised I don't need to publish to test this :(
Sorry about v2.6.{0,1,2}, my bad.
- Fix
package.json
files array by removing it. Trying to getdist
in npm.
- Merge #41 - Adding mixin with animation support (thanks @krawaller!)
- Merge #37 - Replace lodash dependencies with in house functions
- Throw when
querySelector(All)
does not receive an argument - Return null when
querySelector
does not find a match
- Merge #38 - Fix vendor prefixes for already camelCased style names
- Merge #35 - Define
childNodes
inElement
- Some small README improvements
- Merge #23 - Support data and aria attributes
- Merge #25 which fixes #19 - On click not passing through D3 datum
- Fix #10 - Vendor prefixed styles are camel cased incorrectly
- Fix #9 - Make events work like the normal DOM
This should contribute to fixing #4 (Support for Brush) too. The reason that this is a breaking change (a major version bump) is that the event object you receive in event listeners is now the actual native event, not a React synthetic event. If you want the synthetic event use the syntheticEvent
property. This should help even more d3 code just work out of the box.
- Fix #7 - toReact mutates the faux element