This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
sku@12.6.0
Minor Changes
Add support for removing assertion functions named invariant and assertions from the tiny-invariant library, a lightweight alternative to assert (#966)
EXAMPLE USAGE:
import React from 'react';
import invariant from 'tiny-invariant';
export const Rating = ({ rating }: { rating: number }) => {
invariant(rating >= 0 && rating <= 5, 'Rating must be between 0 and 5');
return <div>...</div>;
};
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
sku@12.6.0
Minor Changes
Add support for removing assertion functions named
invariant
and assertions from thetiny-invariant
library, a lightweight alternative toassert
(#966)EXAMPLE USAGE: