question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Why No TextInput Primitive?

See original GitHub issue

I’ve seen some light discussion on why TextInput may or may not make sense as a primitive. Mostly in this issue.

I too believe that text inputs are a core feature of building complex, rich, interactive UIs. I would like to start a more in-depth discussion on what it would take to add such interactive elements to the core API. Or, to see more insight as to the hesitation against such a move.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:14 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
pddivinecommented, Jul 26, 2017

Perhaps Touchable should be generalized to Input since it is also responding to a form of input. TextInput implies input from a keyboard. If we had a general Input primitive it could be bound to different input types, like mouse, touch, keyboard, gyroscope, location, etc.

1reaction
mathieudutourcommented, Apr 17, 2019

Might be worth listing it in the Readme alongside react-primitivessvg`

Read more comments on GitHub >

github_iconTop Results From Across the Web

Check if input is of Primitive type in Java? - Stack Overflow
An instance of Short (etc) is not primitive: it is an instance of the wrapper type, so input.getClass().isPrimitive() won't ever return true.
Read more >
GLSL failed to link and error C6022: No input primitive type
I am a rookie and just trying something randomly. I create an solid wing in solidworks and imported into Hypermesh(11.0).
Read more >
Input/Output primitives of TeX - LaTeX Stack Exchange
The \read primitive reads one line at a time (unless braces are not matched) and tokenizes in the normal TeX way.
Read more >
Primitive text - WinCC OA
Figure 1 . Primitive text HOW To write primitive text First you have to decide whether the primitive text should have a border...
Read more >
Primitive input/output | R Object-oriented Programming
There are a number of primitive commands that offer fine grain control for reading and writing information to and from a file. We...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found