Buckets:
silverwolf-x/project / test /development /pages-dir /client-navigation /fixture /pages /instance-get-initial-props.js
| import React from 'react' | |
| export default class InstanceInitialPropsPage extends React.Component { | |
| async getInitialProps() { | |
| return fetchData() | |
| } | |
| render() { | |
| return <p>{this.props.name}</p> | |
| } | |
| } | |
| function fetchData() { | |
| const p = new Promise((resolve) => { | |
| setTimeout(() => resolve({ name: 'Anderson Leite' }), 10) | |
| }) | |
| return p | |
| } | |
Xet Storage Details
- Size:
- 353 Bytes
- Xet hash:
- 25e14cc363e5244c5c2be682e84471c4b21e5fbc13a37dc1b63314b551ba6752
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.