Coder Social home page Coder Social logo

Comments (7)

Poliuk avatar Poliuk commented on August 11, 2024 1

@juanmaguitar maybe we can just use the guides section also for this

from docs.

juanmaguitar avatar juanmaguitar commented on August 11, 2024 1

Although there are now some built-in ways of applying pre-fetching, I still think there should be a proper explanation of "What is pre-fetching? Why it's important?"

from docs.

juanmaguitar avatar juanmaguitar commented on August 11, 2024

@Poliuk As I understand pre-fetching is not really a feature of Frontity itself but a pattern that can easily be implemented in Frontity projects.

This "pattern" is implemented in some official themes such as twentytwenty-theme in the Link component
There's a DevRel Talk where we explain specifically this → https://www.youtube.com/watch?v=eW5xZlpcqQk&t=1073s

I was thinking of creating a specific section called "patterns" or "recipes" where we can explain things like this

What do you think?

from docs.

juanmaguitar avatar juanmaguitar commented on August 11, 2024

It seems there's already a Feature Discussion opened to make this auto-prefetching implemented in twentytwenty-theme as part of the "official" Link component (the one you can import directly from the frontity package)

https://community.frontity.org/t/auto-prefetch-data/886

from docs.

juanmaguitar avatar juanmaguitar commented on August 11, 2024

maybe we can just use the guides section also for this

Yes, I think, for now, adding a new guide to explain this is enough

from docs.

michalczaplinski avatar michalczaplinski commented on August 11, 2024

@juanmaguitar Letting you know that we've merged a PR implementing the autoprefetching in the <Link /> component: frontity/frontity#518

FD: https://community.frontity.org/t/auto-prefetch-data/886

I guess this can be completed as part of #149

from docs.

juanmaguitar avatar juanmaguitar commented on August 11, 2024

We're going to create a quick guide in https://docs.frontity.org/guides with a title such as "Why a pre-fetching strategy is important and how you can easily apply it with Frontity"
https://developer.mozilla.org/en-US/docs/Web/HTTP/Link_prefetching_FAQ

from docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.