fetchData
Type:
Default: true
<boolean>
Default: true
It determines how the data is fetched through Microlink API.
When it's
true
, an internal network call will be performed for getting the data. import Microlink from '@microlink/react'
export default () => (
<Microlink url='https://www.netflix.com/title/80057281' fetchData />
)
A network call will be performed internally for getting the data.
Passing a
false
disables this behavior. You can combine it with setData.fetchData
Type:
Default: true
<boolean>
Default: true
It determines how the data is fetched through Microlink API.
When it's
true
, an internal network call will be performed for getting the data. import Microlink from '@microlink/react'
export default () => (
<Microlink url='https://www.netflix.com/title/80057281' fetchData />
)
A network call will be performed internally for getting the data.
Passing a
false
disables this behavior. You can combine it with setData.