mfng

A Minimal React Server Components Bundler & Library

MIT License

Downloads
107
Stars
428

Bot releases are visible (Hide)

mfng - @mfng/[email protected] Latest Release

Published by github-actions[bot] 5 months ago

Patch Changes

  • 247f98c: Prevent race conditions during webpack compilation
mfng - @mfng/[email protected]

Published by github-actions[bot] 5 months ago

Minor Changes

  • fb39d01: Support default exports and non-function client components
mfng - @mfng/[email protected]

Published by github-actions[bot] 5 months ago

Minor Changes

  • faf0e5d: Add support for parsing import assertions & attributes to rsc &
    client loaders
  • 2576ed1: Add support for parsing import assertions & attributes

Patch Changes

  • dce077f: Update RSC loader configs in README
mfng - @mfng/[email protected]

Published by github-actions[bot] 5 months ago

Patch Changes

  • 9d192c8: Use a simple replacement for React.cache
mfng - @mfng/[email protected]

Published by github-actions[bot] 7 months ago

Patch Changes

  • cbd5bea: Fix react peer dependency
mfng - @mfng/[email protected]

Published by unstubbable 7 months ago

What's Changed

mfng - @mfng/[email protected]

Published by unstubbable 7 months ago

What's Changed

mfng - @mfng/[email protected]

Published by unstubbable 7 months ago

What's Changed

mfng - @mfng/[email protected]

Published by unstubbable 7 months ago

What's Changed

mfng -

Published by unstubbable 7 months ago

What's Changed

BREAKING CHANGES

  • hydrateApp must be imported from @mfng/core/client/browser instead of @mfng/core/client
mfng - @mfng/[email protected]

Published by unstubbable 7 months ago

What's Changed

BREAKING CHANGES

  • The serverReferencesMap is now a required option of createWebpackRscServerLoader. In addition, it also needs to be passed to createWebpackRscSsrLoader (required for server actions that are imported from client components).
mfng - @mfng/[email protected]

Published by unstubbable 8 months ago

Bug Fixes

  • Only register exported functions as server references (#39)
mfng - @mfng/[email protected]

Published by unstubbable 11 months ago

Features

  • Pass formState directly into createHtmlStream (#36)
    • BREAKING CHANGE: The formState now needs to be passed in as part of the options of createHtmlStream.
mfng - @mfng/[email protected]

Published by unstubbable 11 months ago

Features

  • Change history after having fetched data for new location (#19)
  • Replace server context with AsyncLocalStorage and client context (#20)
  • Progressively enhanced form actions (#35)
    • @mfng/core/server/rsc: Added createRscFormState function.
    • @mfng/core/server/rsc: createRscAppStream accepts a new option formState
    • @mfng/core/server/ssr: createHtmlStream now renders the form state from the RSC response, if present.
    • @mfng/core/client: Added hydrateApp function.
    • BREAKING CHANGES:
      • The Router component has a new required prop fetchRoot. This is automatically provided when using the newly introduced hydrateApp function.
      • createRscActionStream now expects the reactServerManifest in the same structure that React also expects.
mfng - @mfng/[email protected]

Published by unstubbable 11 months ago

Features

  • Progressively enhanced form actions (#35)
    • BREAKING CHANGE: The Webpack RSC server plugin now emits the server manifest in the structure that React expects.
mfng - @mfng/[email protected]

Published by unstubbable 11 months ago

Features

  • Handle source maps in webpack loaders (#33)
    • This enables setting breakpoints in server actions.
  • Throw an error when a client function is called in a server component (#28)
mfng - @mfng/[email protected]

Published by unstubbable 11 months ago

Features

  • Add support for bind with server actions in server components (#25)
Package Rankings
Top 16.28% on Npmjs.org
Related Projects