Ink: Why not a react renderer?

Created on 11 Jul 2017  Â·  3Comments  Â·  Source: vadimdemedes/ink

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?

Most helpful comment

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 🤣

All 3 comments

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 🤣

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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

colinking picture colinking  Â·  6Comments

JakeDawkins picture JakeDawkins  Â·  4Comments

KyleAMathews picture KyleAMathews  Â·  3Comments

danikaze picture danikaze  Â·  5Comments

cometkim picture cometkim  Â·  3Comments