Skip to content

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

Open
@JohanHeyvaert

Description

@JohanHeyvaert

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions