Comment by mbo
> It took me hours of Googling and trying out different options to come up with this awful piece of code that worked to load the contents of a file and give them to my page [CODE]
Do I have Stockholm syndrome or is the code here completely fine?
This whole piece kind of feels like the author just doesn't understand Svelte, so they threw it out and used something they do understand.
Yes, it probably is a good idea to use technologies you understand. But you not understanding Svelte isn't a Svelte problem.