Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Feature Request: IDOM URL Router #508

Archmonger started this conversation in Ideas
Discussion options

Currently it is very awkward to build SPAs within IDOM. There needs to be some kind of URL router construct.

You must be logged in to vote

Replies: 3 comments 2 replies

Comment options

Some client based router like react-router or what nextjs has would be ideal. That would allow for a page refresh or sharing a link to get back to the same viewable state.

You must be logged in to vote
1 reply
Comment options

The development of this feature is under way. The foundational work has already been completed (i.e. idom.backend.*.use_location hooks). I'd expect that we might have an initial implementation ready to try out before July.

Comment options

Yes, this one is critical to building SPAs in IDOM, we are using use_state to hide/show components but it's awkward to use

You must be logged in to vote
1 reply
Comment options

The development of this feature is under way. The foundational work has already been completed (i.e. idom.backend.*.use_location hooks). I'd expect that we might have an initial implementation ready to try out before July.

Comment options

A very early implementation can be found here: https://github.com/idom-team/idom-router

If you decide to use it now, keep in mind that there are probably bugs and there will be upcoming changes the interface.

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

AltStyle によって変換されたページ (->オリジナル) /