jaredpalmer / jaredpalmer/the-platform

Add FontFace component

Open
#76 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
4.4k
Forks
106
PR merge metrics
No merged PRs in 30d

Description

Add <FontFace /> and useFontFace to lazy load a web font using the CSS Font Loading module.

Note: browser support is good, but the spec is in draft. Don't know if you're interested in adding this?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the CSS Font Loading module linked in the issue and the repository's existing component and hook patterns. Implement the requested component and useFontFace hook so a web font loads lazily; done means both APIs use the browser font-loading behavior described by the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.