maragudk / maragudk/gomponents

Wishlist for v2 (if it ever comes)

Open
#314 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
1.9k
Forks
59
Avg merge
1d 12h
Merged PRs (30d)
17

Description

This is an issue to track what would be nice to change if I/we ever decide to release a v2:

- Make `Raw` an exported type and drop the constructor function, so that constants of type `Raw` are possible in client code. See https://github.com/maragudk/gomponents/pull/307#issuecomment-4130789264
- Make `NodeFunc` private, since it's probably never used by consumers.

Feel free to give your opinion!

Contributor guide

Open the contributing guide

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

Review pull request #307 and its linked comment first, then inspect the public Go API around Raw and NodeFunc. The issue does not name files or tests; completion would require agreeing on the v2 API direction and defining what the resulting exported and private symbols should be.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, web-dev
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.