Articles by Prasad Walvekar

React 17 introduces new JSX transform

React 17 introduces jsx-runtime and jsx-dev-runtime that enables the user to write JSX without importing React.

Rails 7 adds `Enumerable#sole` to return a sole item in the enumerable

Enumerable#sole returns the sole item in the enumerable and raises an exception if no items or more than one item is found.

Rails 6.1 adds support for validating numeric values fall in a range using `in:` option

The `numericality` validation helper now accepts `in:` as an option for which the value must be a range.

Rails 6.1 adds support for destroying dependent associations in the background

Destroying multiple layered hierarchy of associated objects can be time consuming and might result in a server timeout error. With Rails adding support for dependent associations to be deleted in the background, this issue is addressed.