|
15 | 15 | /* eslint-disable max-classes-per-file */ |
16 | 16 |
|
17 | 17 | import type { ReactElement } from 'react'; |
18 | | -import type { RailsContext, RegisteredComponent, RenderFunction, Root } from '../types/index.ts'; |
19 | | - |
20 | | -import { getRailsContext, resetRailsContext } from '../context.ts'; |
21 | | -import createReactOutput from '../createReactOutput.ts'; |
22 | | -import { isServerRenderHash } from '../isServerRenderResult.ts'; |
23 | | -import { supportsHydrate, supportsRootApi, unmountComponentAtNode } from '../reactApis.cts'; |
24 | | -import reactHydrateOrRender from '../reactHydrateOrRender.ts'; |
25 | | -import { debugTurbolinks } from '../turbolinksUtils.ts'; |
| 18 | +import type { RailsContext, RegisteredComponent, RenderFunction, Root } from 'react-on-rails/types'; |
| 19 | + |
| 20 | +import { getRailsContext, resetRailsContext } from 'react-on-rails/context'; |
| 21 | +import createReactOutput from 'react-on-rails/createReactOutput'; |
| 22 | +import { isServerRenderHash } from 'react-on-rails/isServerRenderResult'; |
| 23 | +import { supportsHydrate, supportsRootApi, unmountComponentAtNode } from 'react-on-rails/reactApis'; |
| 24 | +import reactHydrateOrRender from 'react-on-rails/reactHydrateOrRender'; |
| 25 | +import { debugTurbolinks } from 'react-on-rails/turbolinksUtils'; |
26 | 26 | import * as StoreRegistry from './StoreRegistry.ts'; |
27 | 27 | import * as ComponentRegistry from './ComponentRegistry.ts'; |
28 | | -import { onPageLoaded } from '../pageLifecycle.ts'; |
| 28 | +import { onPageLoaded } from 'react-on-rails/pageLifecycle'; |
29 | 29 |
|
30 | 30 | const REACT_ON_RAILS_STORE_ATTRIBUTE = 'data-js-react-on-rails-store'; |
31 | 31 | const IMMEDIATE_HYDRATION_PRO_WARNING = |
|
0 commit comments