react-keyed-flatten-children
Advanced tools
Changelog
3.2.0
Revert react-is
bump, since it breaks React 18! Sorry!
Fix to README.md example (thanks @nilportugues)
Changelog
3.0.0
Convert to ESM by default.
Transpile to ES2015.
CommonJS now uses module.exports
rather than exports.default
. This
allows for importing in CommonJS without requiring explicit default
. e.g.
// Previous:
const flattenChildren = require("react-keyed-flatten-children");
flattenChildren.default(children);
// Now:
const flattenChildren = require("react-keyed-flatten-children");
flattenChildren(children);
(thanks @will-stone)
Changelog
2.2.0
Fix issue with build, dist/
wasn't included with the ESM change (thanks @imjordanxd)
Fix Typescript version in CHANGELOG (thanks @rnestler)
Adds Node v20 support (CI coverage)