Home / Companies / Stream / Blog / June 2018

June 2018 Summaries

3 posts from Stream

Filter
Month: Year:
Post Summaries Back to Blog
Ken, a Developer Advocate at GetStream.io, discusses his work on Winds 2.0, an open-source RSS reader and podcast app built with Node.js, Electron, Redux, and React, which has gained over 5,000 stars on GitHub. He highlights the practical use of React Fragments, a feature introduced in React v16.2.0, which allows developers to avoid unnecessary wrapper `<div>` elements in their layouts, thus preventing potential layout issues in CSS Grid and other styling scenarios. React Fragments enable the rendering of multiple elements without adding extra nodes to the DOM, enhancing the developer experience by offering a cleaner, more efficient way to handle JSX elements. Ken provides examples and scenarios where React Fragments are particularly useful, emphasizing their ability to solve specific layout challenges effectively. He encourages developers to explore the Winds 2.0 source code to see React Fragments in action and offers links to both the application and its code repository.
Jun 18, 2018 1,176 words in the original blog post.
The text explores the challenges and implications of using nil pointers and interfaces in the Go programming language, emphasizing that these can lead to runtime errors and production panics when not handled properly. It highlights that while nil can be useful for indicating missing values, it often results in programming errors when functions that don't handle nil inadvertently receive such inputs. The article discusses various workarounds, such as documenting that nil should not be passed to certain functions or using static analysis tools, but notes that these solutions are not robust. A potential solution inspired by Rust and C++ is proposed, which involves introducing a non-nil-able pointer type to eliminate the possibility of nil pointers, although this does not address nil interfaces. The text argues for language-level support to prevent nil-related errors, noting that other nil-capable types like slices and channels can also cause issues but were not addressed in detail.
Jun 14, 2018 1,826 words in the original blog post.
Cabin is an immersive tutorial series that aims to elevate developers' skills in building feature-rich, scalable social network applications using React and Redux, although it is no longer supported. Created by Stream, the series offers seven in-depth tutorials that cover a wide range of topics, from React fundamentals and Redux techniques to advanced features like real-time notifications and custom maps. It provides a comprehensive learning experience that includes setting up a development environment, mastering JSX syntax, and understanding Redux's core concepts. Additionally, Cabin integrates with powerful API partners such as Stream, Algolia, Mapbox, Keen, and ImgIX to help developers create fully-featured apps that scale effortlessly. The series also offers bonus tips for mastering React and Redux, emphasizing best practices and tools like Immutable.js and Chrome's React developer tools. Despite its discontinuation, Cabin remains a valuable resource for developers seeking to enhance their skills and build high-performance web applications.
Jun 08, 2018 512 words in the original blog post.