solid-primitives icon indicating copy to clipboard operation
solid-primitives copied to clipboard

@solid-primitives/i18n: Please provide sample app with SolidStart?

Open JohanHeyvaert opened this issue 2 years ago • 3 comments

Probably it's just me but I'm struggling to get this library working with SolidStart.

I'm just trying the first basic example in a new (bare) SolidStart project, but I always get this error:

An error occured while server rendering /: object is not iterable (cannot read property Symbol(Symbol.iterator))

The error occurs at this line: const [t, {add, locale, dict}] = useI18n();

This is the first line of my Root component, so I don't know what I could do more?

Thanks a lot!

JohanHeyvaert avatar Nov 10 '22 13:11 JohanHeyvaert