Skip to content

Add session storage to DevTools#1920

Draft
cartogram wants to merge 2 commits into
v1.x-2022-07from
@cartogram/dev-tools-storage
Draft

Add session storage to DevTools#1920
cartogram wants to merge 2 commits into
v1.x-2022-07from
@cartogram/dev-tools-storage

Conversation

@cartogram

Copy link
Copy Markdown
Contributor

Description

Adds a session display to the DevTools for debugging the project's chosen session type.

Additional context


Before submitting the PR, please make sure you do the following:

  • Read the Contributing Guidelines
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123)
  • Update docs in this repository according to your change
  • Run yarn changeset add if this PR cause a version bump based on Keep a Changelog and adheres to Semantic Versioning

import {Table} from './Table.js';

interface Props {
session: any;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're not able to get a concrete type for this, then this should be unknown. We're trying to move away from any as it's not typesafe.

Makes me realize I should go update the eslint / typescript configs for this 🤔

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.

2 participants