Comments (5)
Newest deploy.
https://routify-site-feb.now.sh/helpers/auth
What do you think @jakobrosenberg ?
from routify.dev.
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.
I transferred this to Notion so we can improve the clarity of the copy there.
from routify.dev.
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.
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)
- Chevron animation HOT 2
- Fix scoped prop doc
- Improve docs for Routify options
- A typo on the build configuration docs page
- basepath: Docs never explain what it actually is HOT 2
- `routify export` seems completely undocumented? HOT 2
- 'Get Started' button on home page throws and error HOT 5
- Website performance HOT 5
- Spelling error: SSR & SSG documentation section HOT 1
- Migrating to 2.x guide missing information on Routify rollup plugin is now an object HOT 1
- Migrating to 2.x guide missing information on Routify rollup.config.js changes. HOT 3
- $goto docs are out of date HOT 1
- routify.dev loop switching between 1.x and 2.x HOT 3
- What is `scroll` config means? HOT 1
- Unused step in use tailwind css docs HOT 4
- Documentation - $afterPageLoad (callback) requires a return value of boolean, but doc does not state so
- Documentation: $params helper examples HOT 11
- Starter Template Documentation
- Update install command for making new routify project HOT 1
- How to use component based manual route instead of file system HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from routify.dev.