Skip to content

Clarification on statefulness #1073

Answered by SiTaggart
olipyskoty asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @olipyskoty, great question.

To round it out our discussion in our Engineering Focus Time and document it here, we agree this line could be rewritten slightly to be more explicit in what it means.

For that one line, we are only talking about the components themselves that we ship to the consumer. We want our components to be stateless where ever possible. Pure render only components, that know nothing about where they are, what data they are displaying, what the current state of the application is in. etc. This keeps our components as flexible as possible as they aren't tied to any one product, screen, or location.

There are some cases where accessible components can't avoid holding so…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TheSisb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants