Is there a specific reason you re-implement the whole react-like API instead of making it a custom renderer? I think about react-blessed here.
If there is no specific reason, how about making it a custom renderer?
There are multiple reasons:
Seems legit ;) I'd be interested in making a renderer, I'll try to play
with Ink for that part. Would you be interested in the result or is this
just not the desired direction?
Le mar. 11 juil. 2017 Ã 19:36, Vadim Demedes notifications@github.com a
écrit :
There are multiple reasons:
- I wanted to learn how React's/Preact's diffing works and implement it
- React handles way more than Ink needed to
- I haven't found decent docs on how to make a custom React renderer
and I didn't want to wait for Fiber- I'm a JavaScript developer, that says it all 🤣
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vadimdemedes/ink/issues/16#issuecomment-314517787,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AANEM08Xuk-hbDZ6q-c_1EYyo7ps5JXbks5sM7KdgaJpZM4OUkHQ
.
I don't see the good enough reason of dropping the whole work done on Ink and switching to a custom renderer. Hope you understand my reasoning :)
Although, I'd be indeed interested how it could be implemented, so make sure to ping back with the results!
Most helpful comment
There are multiple reasons: