@lowentry/react-redux 1.5.2 → 1.5.3

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.
Files changed (2) hide show
  1. package/LeRed.js +3 -3
  2. package/package.json +1 -1
package/LeRed.js CHANGED
@@ -1145,7 +1145,7 @@ export const LeRed = (() =>
1145
1145
  if(ISSET(store))
1146
1146
  {
1147
1147
  store = LeRed.configureStore(store);
1148
- return (<ReactRedux.Provider store={store} {...other}>{children}</ReactRedux.Provider>);
1148
+ return LeRed.createElement(ReactRedux.Provider, {store, ...other}, children);
1149
1149
  }
1150
1150
  return children;
1151
1151
  });
@@ -1174,7 +1174,7 @@ export const LeRed = (() =>
1174
1174
  setComponent(null);
1175
1175
  return;
1176
1176
  }
1177
- setComponent(<LoadedComponent {...other}/>);
1177
+ setComponent(LeRed.createElement(LoadedComponent, other));
1178
1178
  })();
1179
1179
  }, []);
1180
1180
 
@@ -1191,7 +1191,7 @@ export const LeRed = (() =>
1191
1191
  return LeUtils.setAnimationFrameTimeout(() => setOpacity(1), Math.max((opacityKey ? 2 : 0), INT_LAX(frames))).remove;
1192
1192
  }, [opacityKey]);
1193
1193
 
1194
- return (<div style={{width:'100%', height:'100%', opacity, transition:(((opacity > 0) && transition) ? ('opacity ' + transition) : 'none'), ...(style ?? {})}} {...other}>{children}</div>);
1194
+ return LeRed.createElement('div', {style:{width:'100%', height:'100%', opacity, transition:(((opacity > 0) && transition) ? ('opacity ' + transition) : 'none'), ...(style ?? {}), ...other}, children});
1195
1195
  });
1196
1196
 
1197
1197
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowentry/react-redux",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Provides utilities for React and Redux.",