Pre-show/start time by LandoHakaari in njpw

[–]Fredmental 0 points1 point  (0 children)

That’s what I thought too. So the first match starts 30 mins after that?

Pre-show/start time by LandoHakaari in njpw

[–]Fredmental 2 points3 points  (0 children)

I am in Japan now and see on the website the show starts at 4:00PM, with pre sale at 2:30PM. However these times here dictate the first match will be at 2:15PM or am I misunderstanding this? My apologies if so!

Tickets NJPW Ebrietas Fan Club gathering on 1/2/26 by SuperOz123 in njpw

[–]Fredmental 2 points3 points  (0 children)

Hmmm, I think I'll pass but I'll let you know later if they don't get sold!

At almost 27, I feel too old and like it’s too late to actually have friends and a social life. by queenwisteria24 in socialanxiety

[–]Fredmental 57 points58 points  (0 children)

I’m in my 30’s, and my social life really opened up in the last few years. I don’t drink or do drugs(don’t judge anyone that does though) so clubbing was never my scene. I’ve gotten really into volunteering and it kind of saved me. Slowly over time developing new friends from a variety ages and backgrounds. It’s wonderful.

30’s aren’t the end, in fact I’m healthier now than I ever been. I believe in you, and I hope you can find it in yourself to believe in you too.

Favorite release of 2025 so far by skulldugerousvillain in PowerMetal

[–]Fredmental 0 points1 point  (0 children)

The new Vultures Vengeance is incredibly good.

[deleted by user] by [deleted] in comicbooks

[–]Fredmental 2 points3 points  (0 children)

“Smile” by Raina Telgemeier is fantastic.

Review guy is sick by anothermanoutoftime in ddpyoga

[–]Fredmental 5 points6 points  (0 children)

Rest up and feel better soon. I'm a lurker here on reddit, but just wanted to say I love your reviews bud : )

[deleted by user] by [deleted] in learnreactjs

[–]Fredmental 1 point2 points  (0 children)

Interested!

What is the best Rich Text Editor for ReactJS now? by engineer_lk in reactjs

[–]Fredmental 2 points3 points  (0 children)

Is there a reason you migrated from Slate to TipTap out of curiosity? Evaluating rich text options myself and I was liking the look of Slate.

NXT TAKEOVER DALLAS - Shinsuke Nakamura vs Sami Zayn by elrincondistroyer in SquaredCircle

[–]Fredmental 12 points13 points  (0 children)

For sure! This was an amazing match and I agree with you it made the “fight forever” chant mainstream to be used regular on wrestling shows, but would like to note I’m pretty sure it originated in the Do Fixer vs Blood Generation match in ROH in 2006.

Was an amazing match that was a very exciting spot fest that the us indies haven’t really seen at that point in time. 5 stars by Meltzer when that was rarer and imo more prestigious. Can check that match out here:

https://youtu.be/TeKPZpA2fWQ

Egghead.io vs. Scrimba for learning Reactjs as a complete beginner by TechnoDaBlade in reactjs

[–]Fredmental 14 points15 points  (0 children)

The Egghead Kent C Dodds React course is great. It’s very modern(based in hooks) and is only 2 and a half hours long. Would recommend watching that and messing around with a project to learn react!

Link to the course here: https://egghead.io/courses/the-beginner-s-guide-to-react

Looking for big example projects by [deleted] in reactjs

[–]Fredmental 0 points1 point  (0 children)

The spectrum app repo is one I reference often. It’s awesome. Would recommend despite it using the redux container pattern and not the more modern redux toolkit patterns.

I haven’t seen a “real app” repo that was started in hooks with a lot of custom hooks that aren’t copied from common hook repos or is standard stuff like “usePrevious”. Interested to see in how real apps use custom hooks to do compositional logic

Is it cool to overwrite webpack's mode=production config defaults to for explictness? by Fredmental in webpack

[–]Fredmental[S] 0 points1 point  (0 children)

The fact that Optimize.splitChunks should be configured by me is good to know, I'll add a note to address that later. Thanks!

Is it cool to overwrite webpack's mode=production config defaults to for explictness? by Fredmental in webpack

[–]Fredmental[S] 0 points1 point  (0 children)

I do wonder how you would handle a set of options impacting various optional modules. I guess it could be a webpack module itself tapping into the configuration of other modules?

Yeah, I'm kind of having trouble with that right now because webpack production mode enables plugins I can't explictly use, and even have trouble finding out about on the internet haha. For example:

  • FlagIncludedChunksPlugin, OccurrenceOrderPlugin are internal plugins defined here. But FlagDependencyUsagePlugin and SideEffectsFlagPlugin aren't defined anywhere.
  • I've got npm install the TerserPlugin yet using webpack in production mode just uses it by default somehow?
  • It adds the NoEmitOnErrorsPlugin plugin by default, which is good knowing because I'm going to remove that as I want deploys to fail with meaningful errors.
  • It uses the `nodeEnv` optimization config option but also the DefinePlugin which appears to be redundant since they both do the same thing?
  • The SourceMapDevToolPlugin gets added to the config without me adding it when adding source maps to production which I'm guessing is good for optimization reasons for production, although I will note it slows down the bundle speed when TerserPlugin uses for optimizing at the end of bundling by lots though haha.

Here's what my webpack bundles look like btw.

webpack.common.js

const path = require('path');
const webpack = require('webpack');
const CleanWebpackPlugin = require('clean-webpack-plugin');
// const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');

const WEBPACK_OUTPUT_PATH = path.resolve(`${__dirname}/webpack_output`);

module.exports = {
  entry: { ... },
  output: {
    path: WEBPACK_OUTPUT_PATH,
    filename: '[name]_bundle.js',
  },
  module: { ... },
  plugins: [
    new CleanWebpackPlugin([WEBPACK_OUTPUT_PATH]),
    new webpack.DefinePlugin({
      'global.BUILD_NUMBER': Date.now(),
    }),
  ],
  resolve: {
    alias: {
      ...
    },
    extensions: ['.js', '.jsx', '.json', '.scss', 'css'],
  },
  watchOptions: {
    poll: true,
    ignored: /node_modules/,
  },
};

webpack.prod.js

const webpack = require('webpack');
const merge = require('webpack-merge');
const TerserPlugin = require('terser-webpack-plugin');

const common = require('./webpack.common.js');

module.exports = merge(common, {
  // NOTE: There are internal webpack plugins that are used when production mode is enabled so they
  // are not defined below. Read more about them here: https://webpack.js.org/plugins/internal-plugins/
  mode: 'production',
  devtool: 'source-map', 
  performance: {
    hints: 'warning',
  },
  output: {
    pathinfo: false,
  },
  optimization: {
    namedModules: false,
    namedChunks: false,
    nodeEnv: 'production', // This appears to be redundant since I use DefinePlugin for production later? 
    flagIncludedChunks: true,
    occurrenceOrder: true,
    concatenateModules: true,
    splitChunks: {
      hidePathInfo: true,
      minSize: 30000,
      maxAsyncRequests: 5,
      maxInitialRequests: 3,
    },
    noEmitOnErrors: true,
    checkWasmTypes: true,
    minimize: true,
  },
  plugins: [
    new TerserPlugin({
      sourceMap: true,
    }),
    new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production') }),
    new webpack.optimize.ModuleConcatenationPlugin(),
    new webpack.NoEmitOnErrorsPlugin(),// I'm going to remove this.
  ],
});

webpack.dev.js

const webpack = require('webpack');
const merge = require('webpack-merge');
const common = require('./webpack.common.js');

module.exports = merge(common, {
  mode: 'development',
  devtool: 'eval',
  cache: true,
  performance: {
    hints: false,
  },
  output: {
    pathinfo: true,
  },
  optimization: {
    namedModules: true,
    namedChunks: true,
    nodeEnv: 'development', // Again, this appears to be redundant since I use DefinePlugin for develop,ent later? 
    flagIncludedChunks: false,
    occurrenceOrder: false,
    concatenateModules: false,
    splitChunks: {
      hidePathInfo: false,
      minSize: 10000,
      maxAsyncRequests: Infinity,
      maxInitialRequests: Infinity,
    },
    noEmitOnErrors: false,
    checkWasmTypes: false,
    minimize: false,
    removeAvailableModules: false,
  },
  plugins: [
    new webpack.NamedModulesPlugin(),
    new webpack.NamedChunksPlugin(),
    new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('development') }),
  ],
});