Posts

Showing posts with the label web application

Next.js taps Webpack 5 for faster builds

The latest upgrade of Vercel’s Next.js framework for building React web applications speeds up builds and refreshes with expanded use of the Webpack 5 module bundler. Introduced April 28, Next.js 10.2 uses Webpack 5 to improve disk caching, allowing the compiler to persist work between build runs. Because only changed files will be recompiled, performance of subsequent builds is dramatically improved, by up to 63 percent. [ Also on InfoWorld: 10 tips for tuning React UI performance ] With Next.js 10.2, all applications that do not use a custom webpack configuration in their next config.js will automatically use Webpack 5. Webpack 5 also offers benefits including better fast refresh and improved long-term asset caching. Also, CommonJS now can be tree-shaken to automatically remove unused code. To read this article in full, please click here

Microsoft previews Azure service for building WebSocket applications

Microsoft is previewing Azure Web PubSub, an Azure cloud service for building real-time web applications using the WebSocket protocol for two-way communication. Unveiled April 29, Azure Web PubSub enables developers to use WebSockets and a publish-subscribe pattern to build real-time web applications such as live monitoring dashboards, real-time location on maps, and cross-platform live chats. [ Also on InfoWorld: Why Microsoft Azure wins with enterprise customers ] Microsoft said Azure Web PubSub is meant to spare developers from significant infrastructure investment, setup, and maintenance tasks, allowing them to focus on user experiences. Implementing a WebSocket-based real-time experience would otherwise require a developer to set up infrastructure to handle client connections, establish mechanisms for on-demand scaling, and ensure business SLA requirements are met. To read this article in full, please click here