README.md in quilt_rails-1.4.1 vs README.md in quilt_rails-1.5.0
- old
+ new
@@ -101,11 +101,11 @@
## Example minimal React/Polaris/Quilt entrypoint
```tsx
// app/ui/index.tsx
-import * as React from 'react';
+import React from 'react';
import {AppProvider, Page, Card} from '@shopify/polaris';
function App() {
return (
<AppProvider>
@@ -138,11 +138,11 @@
#### Example: getting headers
```tsx
// app/ui/index.tsx
-import * as React from 'react';
+import React from 'react';
import {AppProvider, Page, Card} from '@shopify/polaris';
import {useRequestHeader} from '@shopify/react-network';
function App() {
// get `some-header` from the request that was sent through Rails
@@ -164,10 +164,10 @@
#### Example: redirecting
```tsx
// app/ui/index.tsx
-import * as React from 'react';
+import React from 'react';
import {AppProvider, Page, Card} from '@shopify/polaris';
import {useRedirect} from '@shopify/react-network';
function App() {
// redirect to google as soon as we render