react-ssr-prepass icon indicating copy to clipboard operation
react-ssr-prepass copied to clipboard

A custom partial React SSR renderer for prefetching and suspense

Results 8 react-ssr-prepass issues
Sort by recently updated
recently updated
newest added

Hi, I've noticed some server logs with the following error: ``` TypeError: Cannot read properties of undefined (reading 'length') at areHookInputsEqual (/var/app/current/node_modules/react-ssr-prepass/dist/react-ssr-prepass.js:295:29) at Object.useMemo (/var/app/current/node_modules/react-ssr-prepass/dist/react-ssr-prepass.js:301:6) ``` Looking at the function,...

Now that `react-dom/server` support data fetching and suspense as of `react-dom@18`, I was wondering how much work it would be to replace `react-ssr-prepass` and it turned out to be pretty...

Hello! I was going through dependency upgrades and while looking for the changelog, noticed that the current latest version tagged on NPM is v1.5.0 while the version on `master` in...

Hi, Using: ``` react-redux 7.2.6 react-router-dom 5.3.0 react-ssr-prepass 1.4.0 ``` I've found if I export a component, "ComponentA" as: `withRouter(connect()(ComponentA)` I was getting the error: `Warning: React.createElement: type is invalid...

useInsertionEffect is a new hook introduced in React18 and can be an alternative way to useLayoutEffect to insert styles which does not run on the server. useInsertionEffect: https://react.dev/reference/react/useInsertionEffect

Resolves https://github.com/FormidableLabs/react-ssr-prepass/issues/86 The type defined in Flow did not match the Typescript equivalent in `@types/react`. I've updated the `.d.ts` file to reference the correct TS type ```js // src/element.js export...

The Flow type definition of the `element` argument is found in `src/element.js`: ```js export type UserElement = { type: ComponentType & ComponentStatics, props: DefaultProps, $$typeof: typeof REACT_ELEMENT_TYPE } ``` In...

Hello, The dispatcher is missing `useInsertionEffect` introduced in React 18. It should be mapped to a noop function as useLayoutEffect. It would be just a one-line addition under this https://github.com/FormidableLabs/react-ssr-prepass/blob/master/src/internals/dispatcher.js#L356...