pnp / pnp/sp-dev-fx-controls-react

Request help making react Twitter Feed component

Open
#461 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:new-control Needs: Discussion 🙋 type:discussion
Dominant language
TypeScript
Stars
433
Forks
418
Avg merge
5d 6m
Merged PRs (30d)
19

Description

Category

[ x ] Enhancement

[ ] Bug

[ ] Question

Request

This is more of a request for help making a react component that might end up here so I'm posting in this repo instead of the general one.

Old non-react Twitter feed repo

I'm looking for a twitter feed component and found one in OliverCC that is not react, is pretty old and I was not able convert it into a regular component on my own.

My attempt converting it

Since I've never really built a new react component from scratch myself (only copied/modified), I tried to hack one together without getting any outright errors.

My biggest hurdle... wiring up the widget (I think)

But I do not know if it's correct and I do not know where or how to put this line of code which calls the js widget library: twttr.widgets.load();

Summary gist of my logic

My gist with a summary of my conversion

If anyone has any ideas, I would be greatful :)
Thanks

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 reviewing the linked old Twitter feed repository, the attempted tweetsFeed component, and the gist describing the conversion. Determine whether the requested React component fits this repository and how the Twitter widget should be wired, including the reported twttr.widgets.load() call. Done means a clearly scoped component request with an agreed implementation path.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.