Recursive call of component into component allowed => lead to crash of the application

I use my first component Log / No message into my second component (more complete) Log / With message

It allows me to change the state of the component to make a recursive call that break the application. (I know... Who is dumb enough to try that? ... 😈)


Comments

  • 1 Comment sorted by Votes Date Added
  • AlexAlex Posts: 332Member

    Hello!

    The recursive call will be if you'll find a way of adding component Log / With message inside the state with message.

    Different states have different master components, so there is no recursive call.

Sign In or Register to comment.