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

[v9] refactor!: remove viewport, add dpr #2887

Merged
merged 6 commits into from
Apr 28, 2024
Merged

Conversation

CodyJasonBennett
Copy link
Member

Fixes #1892 by removing viewport which incorrectly measures in world-space. I've split off dpr so it remains accessible.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jun 12, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit d9362de:

Sandbox Source
example Configuration

@CodyJasonBennett CodyJasonBennett changed the title [v9] refactor: remove viewport, add dpr [v9] refactor!: remove viewport, add dpr Jun 12, 2023
@krispya
Copy link
Member

krispya commented Apr 26, 2024

This looks good to me.

# Conflicts:
#	packages/fiber/src/core/store.ts
#	packages/fiber/tests/__snapshots__/index.test.tsx.snap
@krispya
Copy link
Member

krispya commented Apr 26, 2024

Can we add tests for this?

@CodyJasonBennett CodyJasonBennett merged commit d7eb077 into v9 Apr 28, 2024
2 checks passed
@CodyJasonBennett CodyJasonBennett deleted the refactor/remove-viewport branch April 28, 2024 01:11
CodyJasonBennett added a commit that referenced this pull request May 4, 2024
@krispya
Copy link
Member

krispya commented Dec 7, 2024

Let's revive this for v10.

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