![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.
@brandongregoryscott/reactronica
Advanced tools
React audio components for making music in the browser.
React treats UI as a function of state. This library aims to treat music as a function of state, rendering sound instead of UI. Visual components live side by side with Reactronica, sharing the same state and elegantly kept in sync.
Uses ToneJS under the hood. Inspired by React Music.
Warning: Highly experimental. APIs will change.
$ npm install --save reactronica
Note: Use React version >= 16.8 as Hooks are used internally.
To get started quickly with Create React App and Reactronica, just run the command below:
$ npx create-react-app my-app --template reactronica
import React from 'react';
import { Song, Track, Instrument, Effect } from 'reactronica';
const Example = () => {
return (
// Top level component must be Song, with Tracks nested inside
<Song bpm={90} isPlaying={true}>
<Track
// Array of several types
steps={[
// Note in string format
'C3',
// Object with note name and duration
{ name: 'C3', duration: 0.5 },
{ name: 'D3', duration: 0.5 },
// Array of strings for chords
['C3', 'G3'],
null,
null,
// Array of objects for chords
[
{ name: 'C3', duration: 0.5 },
{ name: 'G3', duration: 0.5 },
],
null,
]}
volume={80}
pan={0}
// Callback for every tick
onStepPlay={(step, index) => {
console.log(step, index);
}}
>
<Instrument type="synth" />
{/* Add effects chain here */}
<Effect type="feedbackDelay" />
<Effect type="distortion" />
</Track>
<Track>
<Instrument
type="sampler"
samples={{
C3: 'path/to/kick.mp3',
D3: 'path/to/snare.mp3',
E3: 'path/to/hihat.mp3',
}}
// Add some notes here to play
notes={[{ name: 'C3' }]}
onLoad={(buffers) => {
// Runs when all samples are loaded
}}
/>
</Track>
</Song>
);
};
MIT © unkleho
FAQs
React components for making music
The npm package @brandongregoryscott/reactronica receives a total of 0 weekly downloads. As such, @brandongregoryscott/reactronica popularity was classified as not popular.
We found that @brandongregoryscott/reactronica 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.