react-on-rails 16.7.0-rc.2 → 17.0.0-rc.0
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.
- package/lib/ComponentRegistry.js +0 -1
- package/lib/reactApis.cjs +0 -1
- package/package.json +1 -1
package/lib/ComponentRegistry.js
CHANGED
|
@@ -53,7 +53,6 @@ Registered component names include [ ${keys} ]. Maybe you forgot to register the
|
|
|
53
53
|
* @param _name Component name to wait for
|
|
54
54
|
* @throws Always throws error indicating pro package is required
|
|
55
55
|
*/
|
|
56
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
57
56
|
getOrWaitForComponent(_name) {
|
|
58
57
|
throw new Error('getOrWaitForComponent requires react-on-rails-pro package');
|
|
59
58
|
},
|
package/lib/reactApis.cjs
CHANGED
|
@@ -56,7 +56,6 @@ function reactRender(domNode, reactElement) {
|
|
|
56
56
|
}
|
|
57
57
|
exports.unmountComponentAtNode = exports.supportsRootApi
|
|
58
58
|
? // not used if we use root API
|
|
59
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
60
59
|
(_container) => false
|
|
61
60
|
: (container) => legacyReactDOM.unmountComponentAtNode(container);
|
|
62
61
|
const ensureReactUseAvailable = () => {
|