menu
Reach

# API Discussion

Have an API idea? Share it here.

Posts
Members
Search

passing props with redirect component

hello. is there any documentation about passing a props to Redirect component like this in react-router? if none is there a way? like a "hack" if not. I was thinking, since we're using redux so for every link ill put a action that pass the path so i can grab it from the store.

thumbsup
0
message-simple
3

Question Regarding Push/Pop state in `@reach/router`

I am developing a GatsbyJS site and thus am using @reach/router as a result. It is a great router! I have an issue while trying to implements some page transitions. I am using react-pose for the transitions. I feel it relies on a POP and a PUSH state to initiate the exit and…

thumbsup
0
message-simple
0

<Link to={Object} />

This is quite a valuable feature of react-router. Of course, I can easily implement it on my side, like this: My question is, whether something like that is welcome to be a part of Reach Router API. If it is, I'm happy to send a PR

thumbsup
0
message-simple
0

Select?

Hey @ryanflorence 👋 Firstly thanks for the effort, I've been following you for some time now and also been using quite a few of your libs. I think your goal to be a low-level accessible base-library for react here is absolutely amazing. Today the usual question of custom vs.…

thumbsup
0
message-simple
1

give me a ref instead of create a div for me via Router component

I would like to manage the elements that get created, I'd rather pass a ref into my components than have you create a div for me. Would you consider this as a feature?

thumbsup
0
message-simple
1
Giuseppe·205d

make components work when rendered inside of iframes

Some features reference the document / window object. When a page renders a React app inside of an iframe (eg. widgets or entire applications) Reach UI references the parent frame's objects instead. The most obvious example is WindowSize, when used inside of an iframe it…

thumbsup
0
message-simple
0