Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs #14

Merged
merged 8 commits into from Mar 26, 2022
Merged

Docs #14

merged 8 commits into from Mar 26, 2022

Conversation

bloodyowl
Copy link
Member

Summary

Test Plan

What's required for testing (prerequisites)?

What are the steps to reproduce (after prerequisites)?

Checklist

  • I added the documentation in README.md
  • I added a sample use of the API in the example project (example/)

docs/docs/location.md Outdated Show resolved Hide resolved
@zoontek zoontek merged commit bc8ec73 into swan-io:0.8.0 Mar 26, 2022
zoontek added a commit that referenced this pull request Mar 27, 2022
* Update dependencies

* Delete Segment type

* Use Path type from history instead of Location

* Add raw location in Location object

* Add raw to location object, stabilize location objects instances

* Update dependencies

* Remove url from Location object

* Improve indent

* Keep things flat

* Keep nextLocation

* Re-order variable declaration

* Use useSyncExternalStoreWithSelector instead of JSON parse / stringify

* Revert indent

* Update README.md

* Fix tests

* Fix stable instances

* Fix focus reset on route change (only when path params changed)

* Use React.useMemo for route focus key

* Bump version number

* Add return value

* Add areArrayDifferent

* Remove value.length !== prevValue.length double check

* Extract areItemKeysEqual

* Update ts-pattern

* Fix areParamsArrayEqual

* Delete useRoutes

* Expose encodeSearch / decodeSearch from router

* Remove newline

* Rename some APIs

* Compress Link example

* Add Link

* Use createElement

* Fix heading size

* Use capitalized route names

* Add Link documentation

* Save WIP

* Remove createURL

* Rename some methods

* Update README.md

* Remove remaining createURL

* Delete unused pathParams

* Remove new lines

* Docs (#14)

* Remove old logo

* Start docs

* Add two points

* Update tagline

* Add potigradient

* Update link

* Simplify

* Apply review comments

* Small updates

Co-authored-by: Matthias Le Brun <bloodyowl@icloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants