1.0.6 • Published 1 year ago

dfind v1.0.6

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

Next 13 Fetch Data turbo

Installation

npm i next13-fetch-data-turbo

Next 13 Fetch Data turbo allows the user to fetch data from an API and display it on the page.

How to use

  1. Create a new Next.js app
  2. Install the Next 13 Fetch Data turbo
npm install @vercel/turboreact
  1. Add the turbo to your Next.js app
// pages/_app.js
import { TurboReact } from "@vercel/turboreact";

export default function App({ Component, pageProps }) {
  return (
    <TurboReact>
      <Component {...pageProps} />
    </TurboReact>
  );
}
  1. Create a page that uses the turbo
// pages/index.js
import { useFetch } from "@vercel/turboreact";

export default function Home() {
  const { data, error } = useFetch(
    "https://api.github.com/repos/vercel/turboreact"
  );

  if (error) {
    return <div>failed to load</div>;
  }

  if (!data) {
    return <div>loading...</div>;
  }

  return (
    <div>
      <h1>{data.name}</h1>
      <p>{data.description}</p>
    </div>
  );
}
  1. Start the development server
npm run dev
  1. Open http://localhost:3000 with your browser to see the result.
  2. Edit the page and save it to reload the page.
  3. Add ?turbo to the URL to see the turbo in action.
  4. Learn more about Next.js on the Next.js documentation.
  5. Learn more about Turbo on the Turbo documentation.
  6. Learn more about React on the React documentation.
  7. Learn more about Vercel on the Vercel documentation.

License

Pylar AI creative ML

Copyright © 2022 Miguel Gargallo, Pencil Works LLC, ITAMAESAN ORG, SUPERDATAS, Pylar Team.

Pylar AI creative MLPermissionsLimitationsConditions
November 1st November of 2022✅ Private use❌ Commercial useLicense and copyright notice
From: LEGAL ITAMAEASAN Contact us through this address.✅Science Publications❌ Liability
✅ Research Publications❌ Distribution
Version: 0.0.1✅ Non-commercial publications❌ Warranty
This is not legal advice. Learn more about repository licenses.✅ No endorse publications❌ Modification

Section I: Preamble

This license is a legal agreement between you and the Pylar AI creative ML for the use of Pylar AI creative ML. By obtaining the Pylar AI creative ML you agree to be bound by the terms and conditions of this license. If you do not agree to the terms and conditions of this license, you are not authorized to obtain the Pylar AI creative ML.

1.0.6

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago