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

Use WebGL in a Declarative manner #7

Open
yuichkun opened this issue Dec 9, 2019 · 0 comments
Open

Use WebGL in a Declarative manner #7

yuichkun opened this issue Dec 9, 2019 · 0 comments
Labels
idea Idea of a new prototype

Comments

@yuichkun
Copy link
Contributor

yuichkun commented Dec 9, 2019

👁Purpose 👁

To find the tips for integrating WebGL in a SPA site.

👑Goals 👑

  • A React app with WebGL
  • WebGL part of the app is in sync with the React lifecycle without an imperative draw call.
  • WebGL part is easy to modify and has tests.

📓Steps to Learn 📓

  1. Familiarize yourself with WebGL. Look through the examples, maybe write a hello-world app, like rendering a simple square box or something, without using any library.
    i.e. get to know the pain
  2. Rewrite the hello-world app in a declarative way with something like react-three or etc..
  3. A simple rendering test would be nice to have. Maybe a snapshot test with Enzyme, React Test Renderer.
  4. Also, props validation will be nice to have. Either by type checks or validation libraries.
@yuichkun yuichkun added the idea Idea of a new prototype label Dec 9, 2019
@Yasai-T Yasai-T removed their assignment Jan 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea Idea of a new prototype
Projects
None yet
Development

No branches or pull requests

2 participants