#issue setting up react-spectrum

1 messages · Page 1 of 1 (latest)

quartz panther
#

I followed the installation steps, and after adding the provider I'm getting:
SyntaxError: Unexpected token '.' (see screenshot)

edgy stirrup
#

@quartz panther - were you able to figure this out?
Also running into css challenges with remix myself & learning how to work through them 😅

edgy stirrup
#

EDIT: was able to resolve a similar issue with a css file by adding .client. in the file name
If you're unsure of what component or file it it, put the .client. on a component thats very high up in the tree

bitter heron
#

@quartz panther Would you mind showing me how you set up SSR? I'm testing out react-aria with remix and I can't seem to get it to hydrate correctly or even set up a simple modal.

keen horizon
#

Hey hey, I am also trying to use react-spectrum on my side, and I get the exact same error.
I think this is related to the issue we are facing: https://github.com/remix-run/remix/issues/2469

Sorry for the tag in here @humble vale, could you please share the status of css modules implementation? Issues are closed, merge requests are merged ahah.

humble vale
#

It should be out in the next release

keen horizon