Open elnygren opened 1 year ago
// not like this import React from 'react' // but like this import * as React from 'react' import { Something } from 'react'
if you do import React from 'react' then @shopify/app-bridge-react becomes unusable for people who set allowSyntheticDefaultImports false.
import React from 'react'
@shopify/app-bridge-react
false
if you do
import React from 'react'
then@shopify/app-bridge-react
becomes unusable for people who set allowSyntheticDefaultImportsfalse
.