![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Hexa is a gem which provides some objects to work on my math works. There are shapes and objects like circles, squares or cylinders. Each object has its own set of methods like perimeter
, volume
or area
.
There are also extended core objects such as Fixnum
. They have new methods to simplify operations such as !
, prime?
or sqrt
.
For the moment, the project isn't very complete. You can contribute if you want!
If you want to install hexa and start use it:
$ gem install hexa
Now you can use hexa into IRB or a Ruby file:
require "hexa"
Hexa comes with a set of objects. Objects (Ruby objects) are divided into shapes and objects. Main objects (Ruby) are Circle, Square, Cylinder and Cube. Each constructor accept a Hash of options. Here an example of a IRB session:
>> c = Circle.new :radius => 10
=> #<Circle:0x00000001a00360 @radius=10, @diameter=20>
>> c.diameter
=> 20
>> c.area
=> 314.1592653589793
Other objects (such as Cylinder) allows you to pass other object to set attributes.
>> circle = Circle.new :diameter => 10
=> #<Circle:0x00000001a03b28 @radius=5, @diameter=10>
>> cylinder = Cylinder.new :radius => circle, :height => 40
=> #<Cylinder:0x00000001a0b210 @radius=5, @diameter=10, @height=40>
If you want to contribute, just fork the project then write and commit your patch. Finally, you can open a pull-request.
Hexa is released under the MIT license. See the LICENSE
file for more information.
FAQs
Unknown package
We found that hexa demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.