sunesimonsen Github contribution chart
sunesimonsen Github Stats
sunesimonsen Most Used Languages

Activity

14 Mar 2023

Create Branch

Sunesimonsen

A blob store build on top of FoundationDB

On 14 Mar 2023 at 04:30:37

Sunesimonsen

Code examples

Pushed On 14 Mar 2023 at 04:28:58

Sunesimonsen

Merge pull request #29 from sunesimonsen/ssimonsen/examples

Doc examples

Pushed On 14 Mar 2023 at 04:28:58

Sunesimonsen

Doc examples

Created On 14 Mar 2023 at 04:28:58

Sunesimonsen

Code examples

Pushed On 14 Mar 2023 at 04:25:58

Sunesimonsen

Code examples

Pushed On 14 Mar 2023 at 04:23:29

Sunesimonsen

Doc examples

Created On 14 Mar 2023 at 02:18:39

Sunesimonsen

wip

Pushed On 14 Mar 2023 at 01:31:38

Sunesimonsen

Update changelog

Pushed On 14 Mar 2023 at 11:30:56

Sunesimonsen

v2.12.0

Pushed On 14 Mar 2023 at 11:30:23
Create Branch

Sunesimonsen

A tiny modern router

On 14 Mar 2023 at 11:30:22

Sunesimonsen

Fix formatting

Pushed On 14 Mar 2023 at 11:29:40

Sunesimonsen

Fix failing test

Pushed On 14 Mar 2023 at 11:29:40

Sunesimonsen

Add Navigate component

Created On 14 Mar 2023 at 10:42:26

Sunesimonsen

Add Navigate component

Pushed On 14 Mar 2023 at 10:42:27

Sunesimonsen

Reword Navigate description in packages/react/API.md

Co-authored-by: Sune Simonsen sune@we-knowhow.dk

Pushed On 14 Mar 2023 at 10:42:27

Sunesimonsen

Remove useEffect deps in Navigate

Pushed On 14 Mar 2023 at 10:42:27

Sunesimonsen

Merge pull request #195 from mancristiana/navigate-component

Add Navigate component

Pushed On 14 Mar 2023 at 10:42:27

Sunesimonsen

Add Navigate component

The <Navigate> element changes the location to the given route when rendered. It's a component wrapper around the router.navigate function It accepts the same parameters as props.

Example usage:

<Navigate route="posts/new" /> 
<Navigate 
  route="posts/edit"
  params={{ id: 42 }}
  queryParams={{ showSettings: true }}
  hash="#settings"
/> 

Note this component's intended purpose is redirecting to default routes. See example Switch on the route name

Forked On 14 Mar 2023 at 10:27:45

Sunesimonsen

I think it is probably better to just have: ```suggestion }, [navigate]); ``` and disable the eslint check.
On 14 Mar 2023 at 10:27:45

Sunesimonsen

Add Navigate component

The <Navigate> element changes the location to the given route when rendered. It's a component wrapper around the router.navigate function It accepts the same parameters as props.

Example usage:

<Navigate route="posts/new" /> 
<Navigate 
  route="posts/edit"
  params={{ id: 42 }}
  queryParams={{ showSettings: true }}
  hash="#settings"
/> 

Note this component's intended purpose is redirecting to default routes. See example Switch on the route name

Merged On 14 Mar 2023 at 10:27:46

Sunesimonsen

Commented On 14 Mar 2023 at 10:27:46

Sunesimonsen

Code examples

Pushed On 13 Mar 2023 at 10:27:29

Sunesimonsen

Code examples

Pushed On 13 Mar 2023 at 10:07:14

Sunesimonsen

Code examples

Pushed On 13 Mar 2023 at 09:41:38

Sunesimonsen

Code examples

Pushed On 13 Mar 2023 at 09:32:43

Sunesimonsen

Code examples

Pushed On 13 Mar 2023 at 09:25:15

Sunesimonsen

Code examples

Pushed On 13 Mar 2023 at 09:20:36

Sunesimonsen

Code examples

Pushed On 13 Mar 2023 at 09:15:05

Sunesimonsen

Code examples

Pushed On 13 Mar 2023 at 09:06:52

Sunesimonsen

Code examples

Pushed On 13 Mar 2023 at 09:06:18

Sunesimonsen

Code examples

Pushed On 13 Mar 2023 at 08:35:07

Sunesimonsen

Add Navigate component

The <Navigate> element changes the location to the given route when rendered. It's a component wrapper around the router.navigate function It accepts the same parameters as props.

Example usage:

<Navigate route="posts/new" /> 
<Navigate 
  route="posts/edit"
  params={{ id: 42 }}
  queryParams={{ showSettings: true }}
  hash="#settings"
/> 

Note this component's intended purpose is redirecting to default routes. See example Switch on the route name

Merged On 13 Mar 2023 at 05:10:27

Sunesimonsen

Commented On 13 Mar 2023 at 05:10:27

Sunesimonsen

Add Navigate component

The <Navigate> element changes the location to the given route when rendered. It's a component wrapper around the router.navigate function It accepts the same parameters as props.

Example usage:

<Navigate route="posts/new" /> 
<Navigate 
  route="posts/edit"
  params={{ id: 42 }}
  queryParams={{ showSettings: true }}
  hash="#settings"
/> 

Note this component's intended purpose is redirecting to default routes. See example Switch on the route name

Merged On 13 Mar 2023 at 05:10:27

Sunesimonsen

Commented On 13 Mar 2023 at 05:10:27

Sunesimonsen

Add Navigate component

The <Navigate> element changes the location to the given route when rendered. It's a component wrapper around the router.navigate function It accepts the same parameters as props.

Example usage:

<Navigate route="posts/new" /> 
<Navigate 
  route="posts/edit"
  params={{ id: 42 }}
  queryParams={{ showSettings: true }}
  hash="#settings"
/> 

Note this component's intended purpose is redirecting to default routes. See example Switch on the route name

Forked On 13 Mar 2023 at 05:10:12

Sunesimonsen

I'm afraid that this will keep firing the effect every time this is rendered, because props isn't the same object - do we know that?
On 13 Mar 2023 at 05:10:12

Sunesimonsen

Add Navigate component

The <Navigate> element changes the location to the given route when rendered. It's a component wrapper around the router.navigate function It accepts the same parameters as props.

Example usage:

<Navigate route="posts/new" /> 
<Navigate 
  route="posts/edit"
  params={{ id: 42 }}
  queryParams={{ showSettings: true }}
  hash="#settings"
/> 

Note this component's intended purpose is redirecting to default routes. See example Switch on the route name

Forked On 13 Mar 2023 at 05:07:33

Sunesimonsen

```suggestion The `<Navigate>` element changes the location to the given route when rendered. It's a component wrapper around the [`router.navigate`](../router/API.md#navigate) function and accepts the same parameters as props. ```
On 13 Mar 2023 at 05:07:33