dundalek / dundalek/react-blessed-contrib

Support for neo-blessed possible?

Open
#6 8 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
64
Forks
9
PR merge metrics
No merged PRs in 30d

Description

(Sorry for spamming you with so many issues)

Is there any way you can think of to get this to work when using a blessed fork like `neo-blessed`?

I noticed that the way this interacts with react-blessed is by patching the `blessed` object with a fake element type. I don't know if there's a cleaner way than making it an optional peer dependency and using something like `require.resolve` to see if `neo-blessed` is being used.

I know it's a less probable use case, but unfortunately the standard `blessed` has strange bugs that will probably never be fixed.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting how react-blessed patches the blessed object with a fake element type, then compare that integration with neo-blessed. Evaluate the optional peer-dependency and require.resolve approach mentioned in the issue; done means neo-blessed users can render the widgets without relying on standard blessed.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.