Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
marekzan
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
marekzan
10mo ago
Hahaha that's where I stopped too.
2.
▲
by
marekzan
11mo ago
This posts intention was not to conflict with his point. I used it as a hook and because the simple perfect function he was showing reminded me of the one I mentioned in the article. And I agree with you on the second half :).
3.
▲
by
marekzan
11mo ago
We tested for both, the "happy" and the negative path. But the Javascript unit tests are run without the framework in between. So our function was returning expected results when run in isolation. Only when running it with Next.js
4.
▲
by
marekzan
11mo ago
Yes you are right and after our learning we changed the code to not use `use server` anymore for this kind of operations. The documentation and tooling definitely got better and I don't think that such a situation is possible with the
5.
▲
by
marekzan
11mo ago
Hey, author here :). Thank you for your critique and you are right, I struggled with this chapter a lot. I will read the link to get a better understanding of this type and update the section. If I may ask, do you have more sources where I