![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.
zeebe-node-nestjs
Advanced tools
for older zeebe please use @payk/nestjs-zeebe
// main.ts
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import { ZeebeServer } from 'zeebe-node-nestjs';
async function bootstrap() {
const app = await NestFactory.create(AppModule);
const microservice = app.connectMicroservice({
strategy: app.get(ZeebeServer),
});
await app.startAllMicroservicesAsync();
await app.listen(3000);
}
bootstrap();
// app.module.ts
import { Module } from '@nestjs/common';
import { AppController } from './app.controller';
import { ZeebeModule, ZeebeServer } from 'zeebe-node-nestjs';
@Module({
imports: [
ZeebeModule.forRoot({ gatewayAddress: 'localhost:26500' })
],
controllers: [AppController],
providers: [ZeebeServer],
})
export class AppModule {}
// app.controller.ts
import { Controller, Get, Inject } from '@nestjs/common';
import { AppService } from './app.service';
import { ZBClient, Duration } from 'zeebe-node';
import { ZEEBE_CONNECTION_PROVIDER, ZeebeWorker } from 'zeebe-node-nestjs';
@Controller()
export class AppController {
constructor(
private readonly appService: AppService,
@Inject(ZEEBE_CONNECTION_PROVIDER)
private readonly zbClient: ZBClient,
) {}
// Use the client to create a new process instance
@Get()
getHello(): Promise<CreateWorkflowInstanceResponse> {
return this.zbClient.createProcessInstance('Process_sample', { test: 1 });
}
// Subscribe to events of type 'Activity_test'
@ZeebeWorker('Activity_test')
async test(job) {
console.log(job);
this.appService.doSomething();
job.complete();
}
// publish a message
@Post()
sendHello() {
this.zbClient.publishMessage({
name: 'message_notification',
correlationKey: '1234',
variables: { greeting: 'Hello' },
timeToLive: Duration.seconds.of(10),
});
}
}
FAQs
Zeebe-Node client wrapper for NestJS
We found that zeebe-node-nestjs 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.