Skip to content
Discussion options

You must be logged in to vote

One thing I don’t understand and haven’t found covered in the docs or examples is breaking your UI down into reusable components.

Creating reusable components in remix works like most other react applications. There is nothing too special about remix. It's built on react. That's why there is no remix specific component section in the docs.

What happens if I want to create a route that renders multiple page elements, but not use nested routes (that create longer and longer URLs)?

When you want navigation, you should consider routes. If not, you're free to put whatever react component you like on the route.

I assume these can just be written like normal React components? Is it possible…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by RapidOwl
Comment options

You must be logged in to vote
1 reply
@ccssmnn
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants