chore: deprecate mdx/Styled#1461
Conversation
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/systemui/theme-ui/3RckQWdL45MNesG9qtY2ULnVmgbz |
|
Let's add a line to CHANGELOG as well 👍 |
True - will you add it or me? |
hasparus
left a comment
There was a problem hiding this comment.
Made some comments. Just marking this here so I don't merge it accidentally.
Co-authored-by: Piotr Monwid-Olechnowicz <hasparus@gmail.com>
The only reason not to test things is so we can build more things faster—let’s absolutely add tests for that kind of thing too. We can always remove them later very easily |
Co-authored-by: Piotr Monwid-Olechnowicz <hasparus@gmail.com>
In my book, it's an overkill to spend any more time on a deprecated component that will be pulled out soon, while it holds back a stable release. Btw there is a small test |
I assume that if we're deprecating something, we'll keep it to next stable "major" release. |

Bring back Styled but with a console warning. The code is a bit hacky, but couldn't come up with anything better.