Re:Next.js 10
by dfrsol on Tuesday October 27, 2020 @03:16PM
(#24910765)
How are y'all testing your svelte apps/components? Jest+Testing Lib seems to have issues calculating code coverage and there are few quirks like having to do work arounds to test slots that prevent me from totally switching over.
[ Parent
| on HN ]
Our test coverage of the Svelte apps is meagre so far to be honest.
Their response to "How do I test Svelte apps?"
"We don't have a good answer for that yet, but it is a priority."
I was interested in Svelte until I read this. When they have a good answer, I'll be interested again.
Re:Next.js 10
by Existenceblinks on Sunday November 08, 2020 @01:27AM
(#25023583)
The solution to this, I believe, is making template a function: https://news.ycombinator.com/item?id=25023551