Skip to content

Commit 4f0012c

Browse files
committed
Provide an alternate entry point for alternate renderers
Matches state as of v7.0.0-alpha.4
1 parent 593592e commit 4f0012c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/alternate-renderers.js

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import Provider from './components/Provider'
2+
import connectAdvanced from './components/connectAdvanced'
3+
import { ReactReduxContext } from './components/Context'
4+
import connect from './connect/connect'
5+
6+
import { getBatch } from './utils/batch'
7+
8+
// For other renderers besides ReactDOM and React Native, use the default noop batch function
9+
const batch = getBatch()
10+
11+
export { Provider, connectAdvanced, ReactReduxContext, connect, batch }

0 commit comments

Comments
 (0)