|
1 | 1 | /* eslint-disable max-classes-per-file */ |
2 | 2 |
|
3 | 3 | import type { ReactElement } from 'react'; |
4 | | -import type { RailsContext, RegisteredComponent, RenderFunction, Root } from './types/index.ts'; |
5 | | - |
6 | | -import { getRailsContext, resetRailsContext } from './context.ts'; |
7 | | -import createReactOutput from './createReactOutput.ts'; |
8 | | -import { isServerRenderHash } from './isServerRenderResult.ts'; |
9 | | -import { supportsHydrate, supportsRootApi, unmountComponentAtNode } from './reactApis.cts'; |
10 | | -import reactHydrateOrRender from './reactHydrateOrRender.ts'; |
11 | | -import { debugTurbolinks } from './turbolinksUtils.ts'; |
12 | | -import * as StoreRegistry from './pro/StoreRegistry.ts'; |
13 | | -import * as ComponentRegistry from './pro/ComponentRegistry.ts'; |
14 | | -import { onPageLoaded } from './pageLifecycle.ts'; |
| 4 | +import type { RailsContext, RegisteredComponent, RenderFunction, Root } from '../types/index'; |
| 5 | + |
| 6 | +import { getRailsContext, resetRailsContext } from '../context.ts'; |
| 7 | +import createReactOutput from '../createReactOutput.ts'; |
| 8 | +import { isServerRenderHash } from '../isServerRenderResult.ts'; |
| 9 | +import { supportsHydrate, supportsRootApi, unmountComponentAtNode } from '../reactApis.cts'; |
| 10 | +import reactHydrateOrRender from '../reactHydrateOrRender.ts'; |
| 11 | +import { debugTurbolinks } from '../turbolinksUtils.ts'; |
| 12 | +import * as StoreRegistry from './StoreRegistry.ts'; |
| 13 | +import * as ComponentRegistry from './ComponentRegistry.ts'; |
| 14 | +import { onPageLoaded } from '../pageLifecycle.ts'; |
15 | 15 |
|
16 | 16 | const REACT_ON_RAILS_STORE_ATTRIBUTE = 'data-js-react-on-rails-store'; |
17 | 17 | const IMMEDIATE_HYDRATION_PRO_WARNING = |
|
0 commit comments