TypeScript

Another TypeScript library template

Here’s my “TypeScript library template” approach: https://github.com/gchumillas/typescript-library-template The underlying idea is quite simple: the demo folder contains an usual React app and the lib folder contains a library. And everything is glued with Yarn Workspaces. submitted by /u/SnooHobbies950 [link] [comments]

[Hiring] Remote-Friendly | Senior Full Stack Engineers | e-commerce/ad tech

Hello super smart coding Redditors! My company, EverQuote, is looking to hire 2 Senior Full Stack Engineers to help build out a new platform for our newest line of business (web app only, no app yet.) We are a 450 person company focused on connecting consumers with insurance providers (think, TripAdvisor, but for insurance!) We… Read More »[Hiring] Remote-Friendly | Senior Full Stack Engineers | e-commerce/ad tech

How do you specify in an NPM library where something should be imported from?

I want to have something from my library be imported like this: import { fun } from ‘library/functions’ This is pretty simple, because all it really is is creating functions.js and exporting fun. However, I use typescript, so everything is inside the dist folder, and instead the code looks like import { fun } from… Read More »How do you specify in an NPM library where something should be imported from?

how do you get the remainder of a cleared interval? Is this possible?

say for example we have this setup: (and this is typescript so do execuse the typing) if (disconnected) { console.log(“Disconnected”); // Stop interval; const interval: NodeJS.Timeout | undefined = intervals.get( member?.id as String ); if (!interval) return; console.log(“Stopping interval at ” + interval); // HERE clearInterval(interval); } else if (connected) { console.log(“Connected.”); // Start interval;… Read More »how do you get the remainder of a cleared interval? Is this possible?

Frontend masters – what courses is a must-watch for a front-end dev?

Student here, Planning to improve my front-end skills!; I have the student package by github, so I get a free 6 month of Frontend masters :)! After my own self-learning/projects, I have a solid understanding of React, Redux, Typescript; so I’m not a complete newbie. I recently learned how to use animation libraries like React-Spring… Read More »Frontend masters – what courses is a must-watch for a front-end dev?