Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Interop with React Router (react-router-dom) and 3rd party libraries #132

Open
Mobiletainment opened this issue Mar 9, 2021 · 1 comment

Comments

@Mobiletainment
Copy link

Thank you for this library.

I would like to elaborate a use case: we have a React component library with some powerful components that rely on further dependencies, e.g.:

// Navigation.tsx

import React, { FC, useEffect, useRef, useState } from 'react';
import styled from 'styled-components';
import { Link, useLocation } from 'react-router-dom';
import AntdDropdown from 'antd/es/dropdown';
import 'antd/dist/antd.less';
....

Note that there are dependencies to React router, styled-components (which I figure should be fixed by now) and antd.
Would it be possible to use such component with Vuera as-is? Or will this require further steps to integrate it properly and make it work?

Sorry for elaborating this here instead of simply trying it out, but my intention behind this issue is to gather some feedback and experiences here from you on a broader scale.

Thank you very much.

@stringbeans
Copy link

I'm assuming you've already gone ahead and tried it lol, but I can at least confirm that using the react router works :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants