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

add React compiler #3410

Open
fpigeonjr opened this issue Feb 3, 2025 · 1 comment · May be fixed by #3488
Open

add React compiler #3410

fpigeonjr opened this issue Feb 3, 2025 · 1 comment · May be fixed by #3488
Labels
dev frontend ready Designers have created the designs, story has been refined, and ready for a Developer to begin tech-debt Resolved technical debt (tooling, configuration, or workflow)

Comments

@fpigeonjr
Copy link
Contributor

fpigeonjr commented Feb 3, 2025

Title:
Integrate New React Compiler with Vite & React-Router

Description:
We need to integrate the new React compiler into our project to improve build performance and potentially enhance our developer experience. Since our project uses Vite for bundling and React-Router for routing, we must ensure that the new compiler works seamlessly with our current setup.

Tasks:

  • Research & Documentation:

    • Review the documentation for the new React compiler.
    • Identify any specific Vite plugins or configuration changes required for integration.
    • Check for compatibility issues with React-Router.
  • Configuration Updates:

    • Update Vite configuration to use the new React compiler. This may involve adding or updating Vite plugins and adjusting build settings.
    • Verify that the JSX transformation is handled correctly by the new compiler.
  • Testing & Validation:

    • Run the development server to ensure that the application compiles without errors.
    • Test routing functionality to confirm that React-Router is unaffected.
    • Perform end-to-end tests on key application features to validate that the integration does not introduce regressions.
  • Documentation & Cleanup:

    • Update the project README or developer documentation to include any new setup instructions or changes.
    • Clean up any deprecated configurations related to the old compiler.

Acceptance Criteria:

  • The project builds successfully using Vite with the new React compiler.
  • All routes and components managed by React-Router function as expected.
  • No regressions or build-time errors are introduced.
  • Documentation is updated to reflect the new configuration.

Additional Notes:

  • If any issues arise related to plugin compatibility or performance regressions, please document them and propose alternative solutions or rollback plans.
  • Consider creating a branch (e.g., feature/react-compiler-integration) for this work to enable isolated testing and code review before merging into the main branch.

☝ thanks Claude

@fpigeonjr fpigeonjr added tech-debt Resolved technical debt (tooling, configuration, or workflow) dev frontend ready Designers have created the designs, story has been refined, and ready for a Developer to begin labels Feb 3, 2025
@fpigeonjr
Copy link
Contributor Author

link to the docs: https://react.dev/learn/react-compiler

@fpigeonjr fpigeonjr self-assigned this Feb 17, 2025
@fpigeonjr fpigeonjr linked a pull request Feb 17, 2025 that will close this issue
10 tasks
@fpigeonjr fpigeonjr removed their assignment Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev frontend ready Designers have created the designs, story has been refined, and ready for a Developer to begin tech-debt Resolved technical debt (tooling, configuration, or workflow)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant