React State management - Part 2
Learn some of the inherent ways of managing state without using any external state management tool.ActiveRecord::Core "#find" now reuses "#find_by" cache key
ActiveRecord::Core now prevents duplicate entries in find/find_by cache resulting in slightly improved performance.Rails 7 raise ActionController::Redirecting::UnsafeRedirectError for unsafe redirects
Now unsafe redirects raise a UnsafeRedirectError instead of an ArgumentError.3 Fundamental Design Principles that 99% Apps / Sites get wrong
Visual Contrast, Visual Hierarchy and Minimal design are 3 Design Principles that are missing or poorly implmented on Apps / WebsitesCypress 9.2.0 introduces a new environment variable 'CYPRESS_VERIFY_TIMEOUT'
Add the 'CYPRESS_VERIFY_TIMEOUT' environment variable to override the timeout duration of the verify command.How to configure a Next.js app with TypeScript and Tailwind CSS?
A step-by-step guide on how to build a Next.js application with Typescript and Tailwind CSSRails 7 adds accepts_nested_attributes_for support for delegated_type
With Rails 7, accepts_nested_attributes_for can be used for delegated_typeRails 7 now allows automatic inverse_of detection for associations with scopes
This update ensures that "inverse_of" takes into consideration the relevant scope when calculating the object to store in memory.Tips to make React application more accessible
Making web applications accessible to all the users is an important aspect to be considered while developing. React fully supports building accessible websites, often by using standard HTML techniques.Rails introduces ActiveRecord::Persistence#update_attribute!
While update_attribute was used to bypass validations, update_attribute! now does the same but raises ActiveRecord::RecordNotSaved in case of any errors encountered in `before_*` callbacks.