0.39.0 • Published 2 days ago

@blitzjs/core v0.39.0

Weekly downloads
3,871
License
MIT
Repository
github
Last release
2 days ago

core

This package contains the application-facing offerings of BlitzJS.

Some of the fullstack features that are available include:

  • Authentication Utilities
  • React Hooks
  • Session Management
  • Wrappers for the data-layer communications (RPC)

Usage

Fetch data from a query

import {useQuery} from "blitz"
import getUsers from "app/users/queries/getUsers"

const Users = () => {
  const [users] = useQuery(getUsers, {})

  return <pre style={{maxWidth: "30rem"}}>{JSON.stringify(users, null, 2)}</pre>
}

Session Context

import {Ctx} from "blitz"

export default async function trackView(_ = null, {session}: Ctx) {
  const currentViews = session.publicData.views || 0
  await session.setPublicData({views: currentViews + 1})
  await session.setPrivateData({views: currentViews + 1})

  return
}
0.40.0-canary.8

13 days ago

0.40.0-canary.7

27 days ago

0.40.0-canary.6

27 days ago

0.40.0-canary.5

30 days ago

0.40.0-canary.3

1 month ago

0.40.0-canary.4

1 month ago

0.40.0-canary.1

1 month ago

0.40.0-canary.0

1 month ago

0.39.0

1 month ago

0.39.0-canary.0

2 months ago

0.38.6

2 months ago

0.38.5

3 months ago

0.38.4

3 months ago

0.38.3

3 months ago

0.38.3-canary.1

3 months ago

0.38.2

3 months ago

0.38.3-canary.0

3 months ago

0.38.1

3 months ago

0.38.0

3 months ago

0.36.4

4 months ago

0.36.3

4 months ago

0.36.2

4 months ago

0.37.0

4 months ago

0.35.2

4 months ago

0.35.1

4 months ago

0.35.0-canary.4

5 months ago

0.35.0-canary.3

5 months ago

0.35.0-canary.6

5 months ago

0.35.0-canary.5

5 months ago

0.35.0-canary.0

5 months ago

0.35.0-canary.2

5 months ago

0.35.0-canary.1

5 months ago

0.34.2-canary.0

5 months ago

0.34.3

5 months ago

0.34.2

5 months ago

0.35.0

4 months ago

0.34.1

5 months ago

0.34.0

5 months ago

0.34.0-canary.4

5 months ago

0.34.0-canary.5

5 months ago

0.34.0-y.0

5 months ago

0.34.0-canary.3

6 months ago

0.34.0-canary.2

6 months ago

0.34.0-canary.1

6 months ago

0.34.0-canary.0

6 months ago

0.33.1

6 months ago

0.33.0

6 months ago

0.32.1

7 months ago

0.32.0

7 months ago

0.31.1

7 months ago

0.31.0

7 months ago

0.30.7

7 months ago

0.30.6

7 months ago

0.30.5

7 months ago

0.30.4

7 months ago

0.30.3

7 months ago

0.30.2

7 months ago

0.30.1

7 months ago

0.30.0

7 months ago

0.30.0-canary.15

7 months ago

0.30.0-canary.14

7 months ago

0.30.0-canary.13

7 months ago

0.30.0-canary.11

7 months ago

0.30.0-canary.12

7 months ago

0.30.0-canary.9

7 months ago

0.30.0-canary.10

7 months ago

0.30.0-canary.8

7 months ago

0.30.0-canary.7

8 months ago

0.30.0-canary.6

8 months ago

0.30.0-canary.5

8 months ago

0.30.0-canary.4

8 months ago

0.30.0-canary.3

8 months ago

0.30.0-canary.2

8 months ago

0.29.7

8 months ago

0.29.6

8 months ago

0.30.0-canary.1

8 months ago

0.30.0-canary.0

8 months ago

0.29.5

8 months ago

0.29.3

8 months ago

0.29.2

8 months ago

0.29.1

8 months ago

0.29.0

8 months ago

0.29.0-canary.0

9 months ago

0.28.0

9 months ago

0.28.0-canary.2

9 months ago

0.28.0-canary.1

9 months ago

0.28.0-canary.0

9 months ago

0.27.1

10 months ago

0.27.0

10 months ago

0.27.0-canary.3

10 months ago

0.27.0-canary.2

10 months ago

0.27.0-canary.1

10 months ago

0.27.0-canary.0

10 months ago

0.26.2

10 months ago

0.26.1

10 months ago

0.26.0

10 months ago

0.25.1-canary.3

10 months ago

0.25.1-canary.2

10 months ago

0.25.1-canary.1

10 months ago

0.25.1-canary.0

10 months ago

0.25.0

11 months ago

0.25.0-canary.6

11 months ago

0.25.0-canary.5

11 months ago

0.25.0-canary.4

11 months ago

0.25.0-canary.3

11 months ago

0.25.0-canary.2

11 months ago

0.25.0-canary.1

11 months ago

0.25.0-canary.0

11 months ago

0.24.3

11 months ago

0.24.2

11 months ago

0.24.1

12 months ago

0.24.0

12 months ago

0.24.0-canary.4

12 months ago

0.24.0-canary.3

12 months ago

0.24.0-canary.2

12 months ago

0.24.0-canary.1

12 months ago

0.23.4

12 months ago

0.24.0-canary.0

12 months ago

0.23.3

12 months ago

0.23.2-canary.3

12 months ago

0.23.2-canary.1

12 months ago

0.23.2-canary.2

12 months ago

0.23.2

12 months ago

0.23.1

12 months ago

0.23.2-canary.0

12 months ago

0.23.1-canary.0

12 months ago

0.23.0

1 year ago

0.22.3-canary.0

1 year ago

0.22.2-canary.0

1 year ago

0.22.1

1 year ago

0.21.2-canary.2

1 year ago

0.22.0

1 year ago

0.21.2-canary.1

1 year ago

0.21.2-canary.0

1 year ago

0.21.1

1 year ago

0.21.0

1 year ago

0.20.0

1 year ago

0.18.1-canary.0

1 year ago

0.18.1-canary.1

1 year ago

0.19.0

1 year ago

0.18.0

1 year ago

0.17.1-canary.6

1 year ago

0.17.1-canary.7

1 year ago

0.17.1-canary.5

1 year ago

0.17.1-canary.4

1 year ago

0.17.1-canary.3

1 year ago

0.17.1-canary.2

1 year ago

0.17.1-canary.0

1 year ago

0.17.1-canary.1

1 year ago

0.17.0

1 year ago

0.16.5-canary.8

1 year ago

0.16.5-canary.7

1 year ago

0.16.5-danger.3

1 year ago

0.16.5-canary.5

1 year ago

0.16.5-danger.4

1 year ago

0.16.5-canary.4

1 year ago

0.16.5-canary.3

1 year ago

0.16.5-canary.2

1 year ago

0.16.5-canary.1

1 year ago

0.16.5-canary.0

1 year ago

0.16.4

1 year ago

0.16.3

1 year ago

0.16.2

1 year ago

0.16.1

1 year ago

0.16.0

1 year ago

0.15.3

1 year ago

0.15.2

1 year ago

0.15.2-canary.3

1 year ago

0.15.2-canary.0

1 year ago

0.15.2-canary.1

1 year ago

0.15.2-canary.2

1 year ago

0.15.1

1 year ago

0.15.1-canary.0

1 year ago

0.15.0

1 year ago

0.14.2-canary.0

1 year ago

0.14.1

1 year ago

0.14.0

1 year ago

0.14.0-canary.0

1 year ago

0.13.0

1 year ago

0.13.0-canary.3

1 year ago

0.13.0-canary.2

1 year ago

0.13.0-canary.1

1 year ago

0.13.0-canary.0

1 year ago

0.12.0-canary.0

1 year ago

0.12.0-canary.1

1 year ago

0.12.0-canary.2

1 year ago

0.12.0-canary.3

1 year ago

0.12.0

1 year ago

0.11.0-canary.0

1 year ago

0.11.0

1 year ago

0.10.0

1 year ago

0.10.0-canary.1

1 year ago

0.10.0-canary.0

1 year ago

0.9.2-canary.1

1 year ago

0.9.2-canary.0

1 year ago

0.9.1

1 year ago

0.9.1-canary.0

1 year ago

0.9.0-canary.1

1 year ago

0.9.0-canary.0

1 year ago

0.9.0

1 year ago

0.8.2

1 year ago

0.8.2-canary.2

1 year ago

0.8.2-canary.1

1 year ago

0.8.2-canary.0

1 year ago

0.8.1

1 year ago

0.8.0-canary.4

1 year ago

0.8.0-canary.3

1 year ago

0.8.0-canary.2

1 year ago

0.8.0-canary.1

1 year ago

0.8.0-canary.5

1 year ago

0.8.0

1 year ago

0.8.0-canary.0

1 year ago

0.7.1-canary.1

1 year ago

0.7.0

1 year ago

0.6.6

1 year ago

0.6.5

1 year ago

0.6.4

1 year ago

0.6.3

1 year ago

0.6.2

1 year ago

0.6.1

1 year ago

0.6.0-alpha

1 year ago

0.6.0-canary.3

1 year ago

0.6.0

1 year ago

0.6.0-canary.1

1 year ago

0.5.2-alpha

1 year ago

0.5.0-canary.7

1 year ago

0.5.0-canary.6

1 year ago

0.5.1-alpha

1 year ago

0.5.0-canary.1

1 year ago

0.0.2-canary.1

1 year ago

0.0.2-canary.0

1 year ago

0.0.2-alpha.0

1 year ago

0.0.1-canary.1

1 year ago