Meteor-Community-Packages / Meteor-Community-Packages/meteor-typescript

Add react-fast-refresh support for meteor 2.0 with HMR

Open
#7 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5
Forks
3
PR merge metrics
No merged PRs in 30d

Description

There’s some code to copy from the builtin typescript compiler to add a babel plugin using a new callback parameter sent to the babelcompiler constructor. Just a matter of extending the types and then copying the code and package dependencies

https://github.com/meteor/meteor/pull/11206/commits/088ea8518a7f845b1a09a04608673d7ed6bbd35b

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the builtin TypeScript compiler implementation and commit 088ea8518a7f845b1a09a04608673d7ed6bbd35b from the linked Meteor pull request. Trace the babelcompiler constructor, its type definitions, and package dependencies, then compare the existing implementation with the requested React Fast Refresh support. Done means Meteor 2.0 supports React Fast Refresh with HMR through this package.

Written by the indexing model from the issue text.

Assessment

Tech stack
babel, react, typescript
Domain
build-system, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.