prince-jn

Results 4 comments of prince-jn

> React intentionally remounts your components in development to help you find bugs like in the last example. The right question isn’t “how to run an Effect once”, but “how...

@gaearon Thanks for your answer. Strict mode is activated by default and should be the future of React right? If not, why it's there by default? Why adding this behaviour?...

@gaearon Everyone use "create-react-app" when starting a new project from scratch (at least, me). It's way to complicated to do it alone. That's why I'm saying it's on by default....

@fjuma Just had this error when I tried to use "securityContext.getCallerPrincipal()". I needed to add a default jacc policy. https://stackoverflow.com/questions/71069366/wildlfy-26-java-lang-illegalargumentexception-unknown-handler-key-at-javax-sec