Happy new year! 🎉
I have been off for a month and I had a great time. I could go for another month...
Here is what we plan on working on next: Up next milestone
Also, a reminder that we have two planned breaking changes coming up:
- Moving to a
React
peer dependency of 16.6+ #984 - Moving from
flow
toTypeScript
#982. This might not be a breaking change if we have a goodflow
story 🤞
Unplanned but possible:
- Going all in on hooks and creating a new hook based api 🤐😅
Improvements
doctype
warning 👨⚕️ #1068
We have added a dev only warning to notify you if the pages doctype
is supported #1068 #1040. We only support the html5 doctype
(<!doctype html>
). The doctype
impacts a number of measurement calculations. Previously if you used another doctype
things might work, but there could be some strange issues depending on your css configuration (eg if you did not have body height: 100%
). Rather than trying to account for every strange doctype
out there - we print a dev warning to the console
! 😊 We also now call this out in the docs.
My hope is that this change makes it easier to fall into the pit of success
Just a public service announcement: if you do not add a doctype
tag, browsers will use some other doctype
such as "Quirks mode". Please add a doctype
to your pages!
<!doctype html>
Other
- More robust ref type checking #1067. Allows usage of
react-frame-component
#796. Thanks @jdillick for the ideas - Fixing typos in docs #1059 #1062 #1042 #1063 #1011 #1070 #1071. Thanks @niwsa, @mego and @hannesvdvreken!