0.7.8 • Published 2 years ago

@ringcentral/web-apps-react v0.7.8

Weekly downloads
2
License
-
Repository
-
Last release
2 years ago

RingCentral Web Apps React

The purpose of this library is to synchronize page location with history object of React.

The reason why it is needed is this bug of React Router: https://github.com/ReactTraining/react-router/issues/7113.

Usage

This library can be used without Web Apps.

Simply put the LocationSync anywhere under Router in your hierarchy of components:

import {BrowserRouter, Route} from 'react-router-dom';
import {LocationSync} from '@ringcentral/web-apps-react';

export default () => (
    <BrowserRouter>
        <LocationSync />
        <Route />
        <Route />
        <Route />
        <Route />
    </BrowserRouter>
);
0.7.8

2 years ago

0.7.7

2 years ago

0.7.6

2 years ago

0.7.5

4 years ago

0.7.4

4 years ago

0.7.3

4 years ago

0.7.2

4 years ago

0.7.1

4 years ago

0.7.0

4 years ago

0.6.1

4 years ago

0.6.0

4 years ago