ewedlund
ewedlund
Not sure if this is helpful: I stumbled on this while having issues with [react-final-form-html5-validation](https://github.com/final-form/react-final-form-html5-validation) In a FieldArray with field validation, if I remove any object except the last one,...
> What's the difference between `to` and `href` in this component? And how are they supposed to work together? `to` is used with a [react router](https://reactrouter.com/) [Link](https://reactrouter.com/en/main/components/link#link), in order to...
> So we are assuming that, if the user passes the `to` prop, then the LinkListItem `tag` is a `react-router-dom` Link element that accepts a `to` prop? React Router is...
> I don't think that the `tag` can accept any React Element, it's an ElementType, so it can be something like `h1`, `p`, not a react router Link element nor...
> You are correct, it does work this way, but in this case the `to` prop is no longer transparent as you said it should be (and I agree), and...
> I made a few tests, and passing the `to` prop down to the `Tag` element like this: > >  So it seems that in this example you are...
> Thank you for testing it out @Nick87 > > Do you agree with @ewedlund removing 'to' property as suggested by the PR and using only href with a proper...
> > Sorry @Nick87 @ewedlund I'm on holidays atm I can only interact with my phone, not the best to look at the code :) anyway I understood the problem...
> @ewedlund is definitely right and what I suggested earlier does not work since it causes a full page refresh, but I may be on to something that seems to...
> Good catch @Nick87! @ewedlund is @Nick87 approach right for you? Not sure which one you mean but yes I think we have sorted things out, thank you to both...