Skip to content
This repository was archived by the owner on Jun 2, 2026. It is now read-only.
This repository was archived by the owner on Jun 2, 2026. It is now read-only.

Build React Naturally #178

@andrewpareles

Description

@andrewpareles

This issue might sound boring, but it's one of Void's most important unresolved issues.

In the build instructions, we run npm run buildreact to compile all the files in react/src/*.tsx into react/out/*.js. We then we import those files elsewhere. This is not a great way of working with React because we need to re-build every time we change a React file.

We have two options to fix this problem:

  • Figure out how to allow global imports like 'react' in the browser/ environment so we don't have to build React ourselves. This was possible in vscode's previous yarn edition, and would be the ideal solution.
  • Or, keep bundling the way we do now, but don't crash the build script - this probably means moving build.js's contents into gulpfile.js watch-client.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions