iJS 2019: The State of React’s State in 2019

    International JavaScript Conference 2019

    Monday, May 13th, 10:00 AM

    In the past few years, the approach to application state in React has been constantly shifting. Local component state has been complemented with global state management solutions like ‘react-redux’ or ‘mobx-react’. The introduction of GraphQL libraries like Apollo brought new approaches to API caching (at least for GraphQL). With the release of React 16.3, the reworked Context API has been finally declared stable, adding a viable option for small and simple global states. 

    As a part of the forthcoming React 16.7, hooks will allow for easier use of local state as well as context in function components. Existing libraries are already discussing new hook-compatible APIs that will change the way we are using them. Furthermore, the upcoming ‘suspense’ mechanism is bound to spawn the birth of at least a few new libraries with focus on "perceived local" data fetching and caching. 

    Unfortunately, there is no "one size fits all" solution when evaluating these approaches. This talk will highlight the different types of state occurring in modern React applications and give recommendations on how to approach them with the tools currently available, with an outlook on the near future.

    About International JavaScript Conference 2019

    JavaScript is all around us: formerly just a web developers’ tool, today virtually every business recognizes the power of JavaScript, ranging from vanilla JavaScript to the most sophisticated JS frameworks & environments such as AngularReactTypeScript and NodeJS. At the International JavaScript Conference participants will meet renowned JavaScript experts from all around the world.

    Wenn Sie die Seite weiterhin nutzen, akzeptieren Sie die Verwendung von Cookies. Weitere Informationen

    The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

    Close