Releases: kennethormandy/react-fittext
Releases · kennethormandy/react-fittext
v0.6.0
- Removes use of
shouldComponentUpdate
. Now, the component will re-render even if thefontSize
is staying the same, partly because React’s default for this is already good (“The default behavior is to re-render on every state change, and in the vast majority of cases you should rely on the default behavior.”), and so the component works reliably if the child content is changing. - Adds
license
andrepository
topackage.json
to prevent npm warning