react-on-rails 16.4.0-rc.2 → 16.4.0-rc.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,11 @@
1
1
  /// <reference types="react/experimental" />
2
2
  const throwRailsContextMissingEntries = (missingEntries) => {
3
3
  throw new Error(`Rails context does not have server side ${missingEntries}.\n\n` +
4
- 'Please ensure:\n' +
5
- '1. You are using a compatible version of react_on_rails_pro\n' +
6
- '2. Server components support is enabled by setting:\n' +
7
- ' ReactOnRailsPro.configuration.enable_rsc_support = true');
4
+ 'This is either a configuration issue or a bug:\n' +
5
+ '1. Ensure you are using a compatible version of react_on_rails_pro\n' +
6
+ '2. Ensure server components support is enabled:\n' +
7
+ ' ReactOnRailsPro.configuration.enable_rsc_support = true\n\n' +
8
+ 'If the above are correct, please report at https://github.com/shakacode/react_on_rails/issues');
8
9
  };
9
10
  export const assertRailsContextWithServerComponentMetadata = (context) => {
10
11
  if (!context ||
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-on-rails",
3
- "version": "16.4.0-rc.2",
3
+ "version": "16.4.0-rc.4",
4
4
  "description": "react-on-rails JavaScript for react_on_rails Ruby gem",
5
5
  "main": "lib/ReactOnRails.full.js",
6
6
  "type": "module",