Giter Site home page Giter Site logo

Comments (5)

Wolfr avatar Wolfr commented on July 28, 2024

Newest deploy.

https://routify-site-feb.now.sh/helpers/auth

What do you think @jakobrosenberg ?

from routify.dev.

jakobrosenberg avatar jakobrosenberg commented on July 28, 2024

I think anything that's in this file

https://github.com/sveltech/routify/blob/master/runtime/helpers.js

context
Returns information about the current route

ready
If present, will delay SSR rendering until it has been called

beforeUrlChange
Hook

url
Resolves URLs by path or name

params
Returns parameters from the URL

leftover
Returns the unconsumed part of the URL

goto
Programatically navigate (resolves with the url helper)

isActive
Check if a given path is the currently active path.

getConcestor
Returns the concestor and sibling ancestors of two routes. (Used for determining transition direction)

getDirection
Returns index difference between two paths from an array.

That's the gist of it, but I assume some of them will require clarification.

from routify.dev.

Wolfr avatar Wolfr commented on July 28, 2024

I transferred this to Notion so we can improve the clarity of the copy there.

from routify.dev.

Wolfr avatar Wolfr commented on July 28, 2024

This is the current URL.

https://routify-2020-au0fp6n5r.now.sh/docs/helpers

I think we should make it more clear how to implement them. I would be lost just looking at this table without having worked on Routify.

from routify.dev.

jakobrosenberg avatar jakobrosenberg commented on July 28, 2024

Yes, the helpers page is anything but ready. That might be the only thing holding back the 2020 site at this stage.

from routify.dev.

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.