The "save article" feature seems to rely on an old session cookie (origin convo)
Alex found that the pb was probably n-myft-ui using an old next-myft-client and updated it.
So now we want that updated n-myft-ui for next-myft-page
And this is where the fun begins.
To update n-myft-ui on next-myft-page, I need to update a bunch of stuff :), including having x-follow-button using the last n-myft-ui.
What are the changes on n-myft-ui
Of course it got that update for next-myft-client, which is what we want here.
It also got some minor support work for n-ui-foundation
It is now using react 17 ! But from react themselves, "The React 17 release is unusual because it doesn’t add any new developer-facing features. Instead, this release is primarily focused on making it easier to upgrade React itself." (source) so I think it's all good.
The error message style has changed, which should not affect us here
It also supports node 18
Test
How did I test that?
I ran the tests. lol.
I also checked storybook.
I linked x-follow-button to next-myft-page on my machine and run it and tried playing with it, including on different screen sizes and it looks like nothing broke.
Why ?
HI ! I am updating
n-myft-ui
because:n-myft-ui
using an oldnext-myft-client
and updated it.n-myft-ui
fornext-myft-page
And this is where the fun begins. To update
n-myft-ui
onnext-myft-page
, I need to update a bunch of stuff :), including havingx-follow-button
using the lastn-myft-ui
.What are the changes on n-myft-ui
Test
How did I test that?
I ran the tests. lol.
I also checked storybook.
I linked x-follow-button to next-myft-page on my machine and run it and tried playing with it, including on different screen sizes and it looks like nothing broke.