#Remix how to use useState

1 messages · Page 1 of 1 (latest)

green furnace
#

If you create a new Remix app using the CLI there’s an option to get an app with Remix and Express

plush aspen
#

Remix how to use useState

#

useState, works in remix?

tardy moth
#

Remix uses React, so all react stuff works

#

You can use hooks in all your functional components - can't be used in loaders/actions

plush aspen
#

I have this:

#

but in browser, i view this:

#

the setState is working properly